Changeset 1402 for trunk/dll/seeall.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/seeall.c

    r1400 r1402  
    4747  08 Mar 09 GKY Renamed commafmt.h i18nutil.h
    4848  08 Mar 09 GKY Additional strings move to PCSZs in init.c
     49  08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used)
    4950
    5051***********************************************************************/
     
    283284                 hwnd,
    284285                 GetPString(IDS_ERRORTEXT),
    285                  "%s", GetPString(IDS_CHECKONETEXT));
     286                 GetPString(IDS_CHECKONETEXT));
    286287        else
    287288          WinDismissDlg(hwnd, flags);
     
    611612                 hwndFrame,
    612613                 GetPString(IDS_ERRORTEXT),
    613                  "%s", GetPString(IDS_NOTWRITENOTARGETTEXT));
     614                 GetPString(IDS_NOTWRITENOTARGETTEXT));
    614615          goto RetryPath;
    615616        }
     
    759760              }
    760761            }
    761             rc = docopyf(type, list[x], "%s", newname);
     762            rc = docopyf(type, list[x], newname);
    762763            if (fResetVerify) {
    763764              DosSetVerify(fVerify);
     
    814815                            hwndFrame,
    815816                            GetPString(IDS_DISKFULLTEXT),
    816                             "%s", GetPString(IDS_ANOTHERDISKTEXT));
     817                            GetPString(IDS_ANOTHERDISKTEXT));
    817818                if (rc == MBID_RETRY)
    818819                  goto Retry;
     
    936937            switch (SHORT1FROMMP(mp1)) {
    937938            case IDM_OPENSETTINGS:
    938               s = Settings;
     939              s = (PSZ) Settings;
    939940              break;
    940941            default:
    941               s = Default;
     942              s = (PSZ) Default;
    942943              break;
    943944            }
     
    15791580            }
    15801581            else {
    1581               // saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Strdup failed.");
    15821582              ad->stopflag = 1;
    15831583              break;
     
    20342034                     HWND_DESKTOP,
    20352035                     GetPString(IDS_WARNINGTEXT),
    2036                      "One or more of your files has a full path name that exceeds the OS/2 maximum");
     2036                     GetPString(IDS_LENGTHEXCEEDSMAXPATHTEXT));
    20372037            }
    20382038            return;
Note: See TracChangeset for help on using the changeset viewer.