Changeset 1063 for trunk/dll/treecnr.c


Ignore:
Timestamp:
Jul 11, 2008, 5:33:36 AM (17 years ago)
Author:
Gregg Young
Message:

Fortify ifdef reformat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/treecnr.c

    r1047 r1063  
    785785      else {
    786786        WORKER *wk;
    787 # ifdef FORTIFY
    788   Fortify_EnterScope();
    789 # endif
     787#       ifdef FORTIFY
     788        Fortify_EnterScope();
     789#        endif
    790790        wk = xmallocz(sizeof(WORKER), pszSrcFile, __LINE__);
    791791        if (!wk)
     
    803803                          GetPString(IDS_COULDNTSTARTTHREADTEXT));
    804804            free(wk);
    805 # ifdef FORTIFY
    806   Fortify_LeaveScope();
    807 # endif
    808805            FreeListInfo((LISTINFO *) mp1);
    809806          }
    810807        }
     808#       ifdef FORTIFY
     809        Fortify_LeaveScope();
     810#        endif
    811811      }
    812812    }
     
    821821      else {
    822822        WORKER *wk;
    823 # ifdef FORTIFY
    824   Fortify_EnterScope();
    825 # endif
     823#       ifdef FORTIFY
     824        Fortify_EnterScope();
     825#        endif
    826826        wk = xmallocz(sizeof(WORKER), pszSrcFile, __LINE__);
    827827        if (!wk)
     
    839839                          GetPString(IDS_COULDNTSTARTTHREADTEXT));
    840840            free(wk);
    841 # ifdef FORTIFY
    842   Fortify_LeaveScope();
    843 # endif
    844841            FreeListInfo((LISTINFO *) mp1);
    845842          }
    846843        }
     844#      ifdef FORTIFY
     845       Fortify_LeaveScope();
     846#       endif
    847847      }
    848848    }
     
    860860                 UM_CLOSE, MPFROMLONG(dcd->dontclose != FALSE), MPVOID);
    861861      free(dcd);
    862 # ifdef FORTIFY
    863   Fortify_LeaveScope();
    864 # endif
     862#     ifdef FORTIFY
     863      Fortify_LeaveScope();
     864#      endif
    865865      WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL);
    866866    }
     
    27612761          LISTINFO *li;
    27622762          ULONG action = UM_ACTION;
    2763 # ifdef FORTIFY
    2764   Fortify_EnterScope();
    2765 # endif
     2763#         ifdef FORTIFY
     2764          Fortify_EnterScope();
     2765#         endif
    27662766          li = xmallocz(sizeof(LISTINFO), pszSrcFile, __LINE__);
    27672767          if (li) {
     
    27712771            if (!li->list || !li->list[0]) {
    27722772              free(li);
    2773 # ifdef FORTIFY
    2774   Fortify_LeaveScope();
    2775 # endif
     2773#             ifdef FORTIFY
     2774              Fortify_LeaveScope();
     2775#              endif
    27762776              break;
    27772777            }
     
    29962996  }
    29972997  if (hwndFrame && hwndClient) {
    2998 # ifdef FORTIFY
    2999   Fortify_EnterScope();
    3000 # endif
     2998#   ifdef FORTIFY
     2999    Fortify_EnterScope();
     3000#    endif
    30013001    dcd = xmallocz(sizeof(DIRCNRDATA), pszSrcFile, __LINE__);
    30023002    if (!dcd) {
     
    30833083        PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID);
    30843084        free(dcd);
    3085 # ifdef FORTIFY
    3086   Fortify_LeaveScope();
    3087 # endif
     3085#       ifdef FORTIFY
     3086        Fortify_LeaveScope();
     3087#        endif
    30883088        hwndFrame = (HWND) 0;
    30893089      }
Note: See TracChangeset for help on using the changeset viewer.