Changeset 1742 for trunk/dll/systemf.c


Ignore:
Timestamp:
Feb 23, 2014, 11:14:10 PM (12 years ago)
Author:
Gregg Young
Message:

Undated one of the error messages in runemf2 to provide the calling line and file. Ticket [521]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r1720 r1742  
    4242                started from fm2 after fm2 has been started with stdout and stderr
    4343                redirected to a file.
     44  23 Feb 14 GKY Undated one of the error messages in runemf2 to provide the calling line
     45                and file.
    4446
    4547***********************************************************************/
     
    893895          if (rc == ERROR_FILE_NOT_FOUND || rc == ERROR_PATH_NOT_FOUND ||
    894896              rc == ERROR_INVALID_EXE_SIGNATURE || rc == ERROR_EXE_MARKED_INVALID)
    895             saymsg(MB_OK, HWND_DESKTOP, NullStr,
    896                    GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2), pszPgm);
     897            saymsg(MB_OK, HWND_DESKTOP, NullStr,GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2),
     898                   pszPgm, pszCallingFile,uiLineNumber);
    897899          else if (rc == ERROR_INVALID_DRIVE || rc == ERROR_DRIVE_LOCKED)
    898900            saymsg(MB_OK, HWND_DESKTOP, NullStr,
     
    10431045        if (rc == ERROR_FILE_NOT_FOUND || rc == ERROR_PATH_NOT_FOUND ||
    10441046            rc == ERROR_INVALID_EXE_SIGNATURE || rc == ERROR_EXE_MARKED_INVALID)
    1045           saymsg(MB_OK, HWND_DESKTOP, NullStr,
    1046                  GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2), pszPgm);
     1047          saymsg(MB_OK, HWND_DESKTOP, NullStr, GetPString(IDS_DOSQAPPTYPEFAILEDTEXT2),
     1048                 pszPgm, pszCallingFile,uiLineNumber);
    10471049        else if (rc == ERROR_INVALID_DRIVE || rc == ERROR_DRIVE_LOCKED)
    10481050          saymsg(MB_OK, HWND_DESKTOP, NullStr,
Note: See TracChangeset for help on using the changeset viewer.