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

    r1394 r1398  
    8888
    8989  loadedres = TRUE;
    90   BldFullPathName(s, pFM2SaveDirectory, "RESOURCE.DAT");
     90  BldFullPathName(s, pFM2SaveDirectory, PCSZ_RESOURCEDAT);
    9191  fp = _fsopen(s, "r", SH_DENYWR);
    9292  if (fp) {
     
    126126  if (!loadedres)
    127127    return;
    128   BldFullPathName(s, pFM2SaveDirectory, "RESOURCE.DAT");
     128  BldFullPathName(s, pFM2SaveDirectory, PCSZ_RESOURCEDAT);
    129129  if (CheckDriveSpaceAvail(s, ullDATFileSpaceNeeded, 1) == 2)
    130130    return; //already gave error msg
Note: See TracChangeset for help on using the changeset viewer.