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

    r1335 r1398  
    194194    listdone = TRUE;
    195195    if (!mp2 || !*(CHAR *)mp2) {
    196       Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     196      Runtime_Error(pszSrcFile, __LINE__, NULL);
    197197      WinDismissDlg(hwnd, 0);
    198198      break;
     
    308308          WinQueryDlgItemText(hwnd, UNDEL_DRIVELIST, 3, s);
    309309          if (!isalpha(*s)) {
    310             Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     310            Runtime_Error(pszSrcFile, __LINE__, NULL);
    311311          }
    312312          else {
Note: See TracChangeset for help on using the changeset viewer.