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

    r1397 r1398  
    31293129      list = BuildAList(hwnd);
    31303130      if (!list)
    3131         Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     3131        Runtime_Error(pszSrcFile, __LINE__, NULL);
    31323132      else {
    31333133        WinSetWindowText(pAD->hwndStatus, GetPString(IDS_DRAGGINGFILESTEXT));
     
    39323932  case WM_COMMAND:
    39333933    if (!pAD) {
    3934       Runtime_Error(pszSrcFile, __LINE__, "no data");
     3934      Runtime_Error(pszSrcFile, __LINE__, NULL);
    39353935      return 0;
    39363936    }
     
    42514251
    42524252            if (!list)
    4253               Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     4253              Runtime_Error(pszSrcFile, __LINE__, NULL);
    42544254            else {
    42554255              switch (SHORT1FROMMP(mp1)) {
Note: See TracChangeset for help on using the changeset viewer.