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

    r1348 r1398  
    6060    }
    6161    if (!mp2) {
    62       Runtime_Error(pszSrcFile, __LINE__, "no data");
     62      Runtime_Error(pszSrcFile, __LINE__, NULL);
    6363      WinDismissDlg(hwnd, 0);
    6464      break;
     
    112112            (LONG) WinSendMsg(hwndMLE, MLM_QUERYTEXTLENGTH, MPVOID, MPVOID);
    113113          if (!tlen)
    114             Runtime_Error(pszSrcFile, __LINE__, "no data");
     114            Runtime_Error(pszSrcFile, __LINE__, NULL);
    115115          else {
    116116            WinSendMsg(hwndMLE, MLM_SETIMPORTEXPORT,
     
    129129            }
    130130            if (!*bat)
    131               Runtime_Error(pszSrcFile, __LINE__, "no data");
     131              Runtime_Error(pszSrcFile, __LINE__, NULL);
    132132            else {
    133133              sprintf(s, "%s%sFMTMP%d.CMD", path,
Note: See TracChangeset for help on using the changeset viewer.