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

    r1398 r1402  
    5555      *p = 0;
    5656      p++;
    57       // saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"\"%s\"\r\r%d",tokens[x - 1],x);
    5857      if (!*p)
    5958        break;
     
    9493    filename = "FM3MENU.DAT";
    9594  fp = _fsopen(filename, "r", SH_DENYWR);
    96   if (!fp) {
    97     // else saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Couldn't open %s",filename);
    98   }
    99   else {
     95  if (fp)  {
    10096    while (!feof(fp)) {
    10197      if (!xfgets_bstripcr(s, sizeof(s), fp, pszSrcFile, __LINE__))
     
    133129        }
    134130      }
    135       else {
    136         // fixme to complain?
    137         // saymsg(MB_ENTER, HWND_DESKTOP, GetPString(IDS_DEBUG_STRING), "Tokenization failed");
    138       }
    139131    }
    140132    fclose(fp);
Note: See TracChangeset for help on using the changeset viewer.