Changeset 1398 for trunk/dll/dirsize.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/dirsize.c

    r1395 r1398  
    444444
    445445  if (!dirsize) {
    446     Runtime_Error(pszSrcFile, __LINE__, "no data");
     446    Runtime_Error(pszSrcFile, __LINE__, NULL);
    447447    return;
    448448  }
     
    939939      pState = INSTDATA(hwnd);
    940940      if (!pState)
    941         Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     941        Runtime_Error(pszSrcFile, __LINE__, NULL);
    942942      else {
    943943
     
    10131013      pState = INSTDATA(hwnd);
    10141014      if (!pState)
    1015         Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     1015        Runtime_Error(pszSrcFile, __LINE__, NULL);
    10161016      else {
    10171017        if (pState->working) {
Note: See TracChangeset for help on using the changeset viewer.