Changeset 1673 for trunk/dll/command.c


Ignore:
Timestamp:
Dec 30, 2012, 7:51:01 PM (13 years ago)
Author:
Gregg Young
Message:

Update to Doxygen comment style Ticket 55. Also some minor code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/command.c

    r1640 r1673  
    378378  ULONG size;
    379379
    380 
    381   /*size = sizeof(BOOL) * 300;
    382   PrfQueryProfileData(fmprof, FM3Str, "COMMANDS.UsedCommandIDs", &UsedCommandIDs,
    383                       &size);
    384   size = sizeof(BOOL) * 40;
    385   PrfQueryProfileData(fmprof, FM3Str, "COMMANDS.UsedHotKeyIDs", &UsedHotKeyIDs,
    386                       &size);*/    // No need to use profile just count them GKY 02 JUL 11
    387380  size = sizeof(BOOL);
    388381  PrfQueryProfileData(fmprof, FM3Str, "COMMANDS.LoadCommandsFromINI",
     
    404397            continue;
    405398          if (!xfgets_bstripcr(pszCmdLine, MaxComLineStrg, fp, pszSrcFile, __LINE__))
    406             break;                              /* error! */
     399            break;                              // error!
    407400          if (!xfgets_bstripcr(flags, sizeof(flags), fp, pszSrcFile, __LINE__))
    408401            break;
     
    739732    return NULL;
    740733  }
    741   if (!cmdhead)                         /* only item in list */
     734  if (!cmdhead)                         // only item in list
    742735    cmdhead = cmdtail = info;
    743736  else {
    744     /* place at tail */
     737    // place at tail
    745738    cmdtail->next = info;
    746739    info->prev = cmdtail;
Note: See TracChangeset for help on using the changeset viewer.