Changeset 1402 for trunk/dll/collect.c


Ignore:
Timestamp:
Mar 14, 2009, 6:17:59 PM (16 years ago)
Author:
Gregg Young
Message:

Remove variable aurgs from docopy & unlinkf (not used); Move more strings to PCSZs and string table; Move PCSZs to compile time initialization; Fix hang on startup caused by a drive scan and a dircnr scan trying to update a drive in the tree at the same time (related to the "treeswitch options); Code cleanup mainly removal of old printfs, SayMsgs, DbgMsg and unneeded %s.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/collect.c

    r1400 r1402  
    662662                         MPFROMLONG(ulMaxFiles));
    663663        if (!pci) {
    664           Runtime_Error(pszSrcFile, __LINE__, "CM_ALLOCRECORD %u failed",
    665                         ulMaxFiles);
     664          Runtime_Error(pszSrcFile, __LINE__, PCSZ_CM_ALLOCRECORD);
    666665          break;
    667666        }
     
    23802379          if (!DrgAccessDraginfo(pDInfo)) {
    23812380            Win_Error(hwnd, hwnd, pszSrcFile, __LINE__,
    2382                       "DrgAccessDraginfo");
     2381                      PCSZ_DRGACCESSDRAGINFO);
    23832382            return 0;
    23842383          }
     
    24302429          if (!DrgAccessDraginfo(pDInfo)) {
    24312430            Win_Error(hwnd, hwnd, pszSrcFile, __LINE__,
    2432                       "DrgAccessDraginfo");
     2431                      PCSZ_DRGACCESSDRAGINFO);
    24332432            return (MRFROM2SHORT(DOR_NODROP, 0));       /* Drop not valid */
    24342433          }
     
    25442543                if (li->type == DID_ERROR)
    25452544                  Win_Error(DND_FRAME, HWND_DESKTOP, pszSrcFile, __LINE__,
    2546                             "Drag & Drop Dialog");
     2545                            GetPString(IDS_DRAGDROPDIALOGTEXT));
    25472546                if (!li->type) {
    25482547                  FreeListInfo(li);
Note: See TracChangeset for help on using the changeset viewer.