Changeset 1398 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Feb 21, 2009, 6:43:00 PM (17 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/dircnrs.c

    r1397 r1398  
    11681168    dcd = WinQueryWindowPtr(hwnd, QWL_USER);
    11691169    if (!dcd)
    1170       Runtime_Error(pszSrcFile, __LINE__, "no data");
     1170      Runtime_Error(pszSrcFile, __LINE__, NULL);
    11711171    else {
    11721172      if (dcd->hwndRestore)
     
    30483048            }
    30493049            else if (!*dcd->directory) {
    3050               Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     3050              Runtime_Error(pszSrcFile, __LINE__, NULL);
    30513051              break;
    30523052            }
Note: See TracChangeset for help on using the changeset viewer.