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

    r1391 r1398  
    369369  //DosEnterCritSec(); //GKY 11-29-08
    370370  DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT);
    371   psz = searchpath(ARCHIVERBB2);
     371  psz = searchpath(PCSZ_ARCHIVERBB2);
    372372  if (!psz || !*psz) {
    373373    DosReleaseMutexSem(hmtxFM2Globals);
     
    781781      load_archivers();
    782782    if (!(ARC_TYPE **) mp2) {
    783       Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     783      Runtime_Error(pszSrcFile, __LINE__, NULL);
    784784      WinDismissDlg(hwnd, 0);
    785785      break;
     
    861861                   GetPString(IDS_ADCHANGESINMEMTEXT),
    862862                   GetPString(IDS_ADREWRITETEXT), NullStr) == MBID_YES) {
    863           PSZ ab2 = searchpath(ARCHIVERBB2);    // Rewrite without prompting
     863          PSZ ab2 = searchpath(PCSZ_ARCHIVERBB2);       // Rewrite without prompting
    864864
    865865          rewrite_archiverbb2(ab2);
Note: See TracChangeset for help on using the changeset viewer.