Changeset 904


Ignore:
Timestamp:
Jan 5, 2008, 3:54:40 AM (18 years ago)
Author:
Steven Levine
Message:

Correct message spacing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/error.c

    r787 r904  
    219219  pErrInfoBlk = WinGetErrorInfo(hab);
    220220  if (!pErrInfoBlk) {
     221    ERRORID id = WinGetLastError(hab);  // 03 Jan 08 SHL fixme debug
    221222    psz = pszBuf + strlen(pszBuf);
    222     strcpy(psz, "WinGetErrorInfo failed");
     223    sprintf(psz, " WinGetErrorInfo failed (%u)", id);
    223224  }
    224225  else {
     
    233234     */
    234235    psz = pszBuf + strlen(pszBuf);
    235     sprintf(psz, "#0x%04x \"", ERRORIDERROR(pErrInfoBlk->idError));
     236    sprintf(psz, " #0x%04x \"", ERRORIDERROR(pErrInfoBlk->idError));
    236237    psz += strlen(psz);
    237238    strcpy(psz, ((PSZ) pErrInfoBlk) + *(PSHORT) pszOffset);
Note: See TracChangeset for help on using the changeset viewer.