Changeset 1673 for trunk/dll/command.c
- Timestamp:
- Dec 30, 2012, 7:51:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/command.c
r1640 r1673 378 378 ULONG size; 379 379 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 11387 380 size = sizeof(BOOL); 388 381 PrfQueryProfileData(fmprof, FM3Str, "COMMANDS.LoadCommandsFromINI", … … 404 397 continue; 405 398 if (!xfgets_bstripcr(pszCmdLine, MaxComLineStrg, fp, pszSrcFile, __LINE__)) 406 break; / * error! */399 break; // error! 407 400 if (!xfgets_bstripcr(flags, sizeof(flags), fp, pszSrcFile, __LINE__)) 408 401 break; … … 739 732 return NULL; 740 733 } 741 if (!cmdhead) / * only item in list */734 if (!cmdhead) // only item in list 742 735 cmdhead = cmdtail = info; 743 736 else { 744 / * place at tail */737 // place at tail 745 738 cmdtail->next = info; 746 739 info->prev = cmdtail;
Note:
See TracChangeset
for help on using the changeset viewer.