Changeset 1398 for trunk/dll/misc.c


Ignore:
Timestamp:
Feb 21, 2009, 6:43:00 PM (16 years ago)
Author:
Gregg Young
Message:

Move embeded strings to PCSZ variables or string table; Eliminate Error2 functions Runtime_Error with NULL format string returns "No data" error. Change declares from PSZ to PCSZ in functions where the variable isn't changed. Added btm as an executable file type in several additional places. Use fProtectOnly to prevent attempt to execute Dos and Win programs on "Protect only" installs in several additional places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r1395 r1398  
    142142    if (rc) {
    143143      Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
    144                 "DosGetInfoBlocks");
     144                PCSZ_DOSGETINFOBLOCKS);
    145145      yes = FALSE;
    146146    }
     
    177177    if (rc) {
    178178      Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
    179                 "DosGetInfoBlocks");
     179                PCSZ_DOSGETINFOBLOCKS);
    180180    }
    181181    else {
     
    206206    if (rc) {
    207207      Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
    208                 "DosGetInfoBlocks");
     208                PCSZ_DOSGETINFOBLOCKS);
    209209    }
    210210    else
Note: See TracChangeset for help on using the changeset viewer.