Changeset 1398 for trunk/dll/collect.c


Ignore:
Timestamp:
Feb 21, 2009, 6:43:00 PM (17 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/collect.c

    r1397 r1398  
    15771577#     endif
    15781578      if (!dcd)
    1579         Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     1579        Runtime_Error(pszSrcFile, __LINE__, NULL);
    15801580      else {
    15811581        if (!PostMsg(dcd->hwndObject, UM_COLLECTFROMFILE, mp1, mp2)) {
     
    29962996    dcd = xmallocz(sizeof(DIRCNRDATA), pszSrcFile, __LINE__);
    29972997    if (!dcd) {
    2998       Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
     2998      Runtime_Error(pszSrcFile, __LINE__, NULL);
    29992999      PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID);
    30003000      hwndFrame = (HWND) 0;
Note: See TracChangeset for help on using the changeset viewer.