Changeset 888 for trunk/dll/instant.c


Ignore:
Timestamp:
Dec 22, 2007, 11:02:11 PM (18 years ago)
Author:
Gregg Young
Message:

runemf2 now quotes executable strings if needed (Ticket 180); it also reports where it was called from on errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/instant.c

    r793 r888  
    144144                fclose(fp);
    145145                runemf2(WINDOWED | SEPARATE,
    146                         hwnd,
     146                        hwnd, pszSrcFile, __LINE__,
    147147                        path, NULL, "%s /C \"%s\"", GetCmdSpec(FALSE), s);
    148148              }
     
    168168      if (rc == MBID_YES)
    169169        runemf2(WINDOWED | INVISIBLE | BACKGROUND,
    170                 hwnd, NULL, NULL, "%s /C HELP BATCH", GetCmdSpec(FALSE));
     170                hwnd, pszSrcFile, __LINE__, NULL, NULL,
     171                "%s /C HELP BATCH", GetCmdSpec(FALSE));
    171172      else if (rc == MBID_CANCEL)
    172173        WinDismissDlg(hwnd, 0);
Note: See TracChangeset for help on using the changeset viewer.