Changeset 1616 for trunk/dll/assoc.c


Ignore:
Timestamp:
Aug 13, 2011, 8:32:14 PM (14 years ago)
Author:
Gregg Young
Message:

Updated a*.c files to Doxygen commenting style. (Ticket 55)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/assoc.c

    r1594 r1616  
    2727  01 May 10 GKY Changes to move environment storage to INI file
    2828  03 Jul 11 GKY Fixed failure to save associations after reordering item to the top or bottom.
     29  13 Aug 11 GKY Change to Doxygen comment format
    2930
    3031**************************************************************************************/
     
    195196          !xfgets(offset, sizeof(offset), fp, pszSrcFile, __LINE__) ||
    196197          !xfgets(flags, sizeof(flags), fp, pszSrcFile, __LINE__))
    197         break;                          /* error! */
     198        break;                          // error!
    198199      pszCmdLine[MaxComLineStrg - 1] = 0;
    199200      bstripcr(pszCmdLine);
     
    241242VOID display_associations(HWND hwnd, ASSOC *temp, LINKASSOC *info)
    242243{
    243   //CHAR szEnviroment[ENVIRONMENT_SIZE];
    244244  PSZ pszDisplayStr;
    245245  SHORT x;
    246246
    247   //*szEnviroment = 0;
    248   //WinQueryDlgItemText(hwnd, ASS_ENVIRON, ENVIRONMENT_SIZE - 1, szEnviroment);
    249   //bstripcr(szEnviroment);
    250   //if (*szEnviroment)
    251   //  PrfWriteProfileString(fmprof, FM3Str, temp->pszCmdLine, szEnviroment);
    252247  pszDisplayStr = xmallocz((CCHMAXPATH * 2) + MaxComLineStrg + 6,
    253248                           pszSrcFile, __LINE__);
     
    289284    next = info->next;
    290285    if (!strcmp("*", info->mask)) {
    291       if (info != asshead) {            /* already top record */
     286      if (info != asshead) {            // already top record
    292287        if (info->prev)
    293288          (info->prev)->next = info->next;
     
    371366        }
    372367        else {
    373           if (!asshead)                 /* only item in list */
     368          if (!asshead)                 // only item in list
    374369            asshead = asstail = info;
    375370          else {
    376             if (asstail) {              /* place at tail */
     371            if (asstail) {              // place at tail
    377372              asstail->next = info;
    378373              info->prev = asstail;
     
    505500        fclose(fp);
    506501      }
    507       if (didmatch) {                   /* got a match; do it... */
     502      if (didmatch) {                   // got a match; do it...
    508503
    509504        CHAR *list[2];
     
    807802        info = add_association(&temp);
    808803        if (!info)
    809           WinDismissDlg(hwnd, 1);       /* Runtime_Error(pszSrcFile, __LINE__, "add_association"); */
     804          WinDismissDlg(hwnd, 1);       
    810805        else {
    811806          display_associations(hwnd, &temp, info);
Note: See TracChangeset for help on using the changeset viewer.