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

    r1395 r1398  
    849849
    850850        if (!eap->head || !*eap->filename)
    851           Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     851          Runtime_Error(pszSrcFile, __LINE__, NULL);
    852852        else {
    853853          switch (*(USHORT *) eap->current->value) {
     
    873873              WinQueryDlgItemText(hwnd, control, 32767, (PCH) s);
    874874              if (!*s)
    875                 Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     875                Runtime_Error(pszSrcFile, __LINE__, NULL);
    876876              else {
    877877                PFEA2LIST pfealist;
Note: See TracChangeset for help on using the changeset viewer.