Changeset 1063 for trunk/dll/collect.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/collect.c

    r1041 r1063  
    786786    }
    787787    xfree(mp1, pszSrcFile, __LINE__);
    788 # ifdef FORTIFY
    789   Fortify_LeaveScope();
    790 # endif
     788#   ifdef FORTIFY
     789    Fortify_LeaveScope();
     790#    endif
    791791    return 0;
    792792
     
    891891      if (dcd) {
    892892        WORKER *wk;
    893 # ifdef FORTIFY
    894   Fortify_EnterScope();
    895 # endif
     893#       ifdef FORTIFY
     894        Fortify_EnterScope();
     895#        endif
    896896        wk = xmallocz(sizeof(WORKER), pszSrcFile, __LINE__);
    897897        if (!wk)
     
    909909                          GetPString(IDS_COULDNTSTARTTHREADTEXT));
    910910            free(wk);
    911 # ifdef FORTIFY
    912   Fortify_LeaveScope();
    913 # endif
    914911            FreeListInfo((LISTINFO *) mp1);
     912#           ifdef FORTIFY
     913            Fortify_LeaveScope();
     914#            endif
    915915          }
    916916        }
     
    924924      if (dcd) {
    925925        WORKER *wk;
    926 # ifdef FORTIFY
    927   Fortify_EnterScope();
    928 # endif
     926#       ifdef FORTIFY
     927        Fortify_EnterScope();
     928#        endif
    929929        wk = xmallocz(sizeof(WORKER), pszSrcFile, __LINE__);
    930930        if (!wk)
     
    942942                          GetPString(IDS_COULDNTSTARTTHREADTEXT));
    943943            free(wk);
    944 # ifdef FORTIFY
    945   Fortify_LeaveScope();
    946 # endif
    947944            FreeListInfo((LISTINFO *) mp1);
     945#           ifdef FORTIFY
     946            Fortify_LeaveScope();
     947#            endif
    948948          }
    949949        }
     
    970970      FreeList(dcd->lastselection);
    971971      free(dcd);
    972 # ifdef FORTIFY
    973   Fortify_LeaveScope();
    974 # endif
     972#     ifdef FORTIFY
     973      Fortify_LeaveScope();
     974#      endif
    975975      WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL);
    976976    }
     
    14691469      if (!dcd) {
    14701470        free(mp1);
    1471 # ifdef FORTIFY
    1472   Fortify_LeaveScope();
    1473 # endif
     1471#       ifdef FORTIFY
     1472        Fortify_LeaveScope();
     1473#        endif
    14741474        Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
    14751475      }
     
    14781478          Runtime_Error(pszSrcFile, __LINE__, "PostMsg");
    14791479          free(mp1);
    1480 # ifdef FORTIFY
    1481   Fortify_LeaveScope();
    1482 # endif
     1480#         ifdef FORTIFY
     1481          Fortify_LeaveScope();
     1482#          endif
    14831483        }
    14841484      }
     
    16071607              if (!PostMsg(hwnd, UM_COLLECTFROMFILE, MPFROMP(p), MPVOID))
    16081608                free(p);
    1609 # ifdef FORTIFY
    1610   Fortify_LeaveScope();
    1611 # endif
     1609#               ifdef FORTIFY
     1610                Fortify_LeaveScope();
     1611#                endif
    16121612            }
    16131613          }
     
    17241724        {
    17251725          LISTINFO *li;
    1726 # ifdef FORTIFY
    1727   Fortify_EnterScope();
    1728 # endif
     1726#         ifdef FORTIFY
     1727          Fortify_EnterScope();
     1728#          endif
    17291729          li = xmallocz(sizeof(LISTINFO), pszSrcFile, __LINE__);
    17301730          if (li) {
     
    17751775        if (mp2) {
    17761776          LISTINFO *li;
    1777 # ifdef FORTIFY
    1778   Fortify_EnterScope();
    1779 # endif
     1777#         ifdef FORTIFY
     1778          Fortify_EnterScope();
     1779#          endif
    17801780          li = xmallocz(sizeof(LISTINFO), pszSrcFile, __LINE__);
    17811781          if (li) {
     
    20892089          LISTINFO *li;
    20902090          ULONG action = UM_ACTION;
    2091 # ifdef FORTIFY
    2092   Fortify_EnterScope();
    2093 # endif
     2091#         ifdef FORTIFY
     2092          Fortify_EnterScope();
     2093#          endif
    20942094          li = xmallocz(sizeof(LISTINFO), pszSrcFile, __LINE__);
    20952095          if (li) {
     
    21362136            else
    21372137              free(li);
    2138 # ifdef FORTIFY
    2139   Fortify_LeaveScope();
    2140 # endif
     2138#             ifdef FORTIFY
     2139              Fortify_LeaveScope();
     2140#              endif
    21412141          }
    21422142        }
     
    28542854    id = COLLECTOR_FRAME + idinc++;
    28552855    WinSetWindowUShort(hwndFrame, QWS_ID, id);
    2856 # ifdef FORTIFY
    2857   Fortify_EnterScope();
    2858 # endif
     2856#   ifdef FORTIFY
     2857    Fortify_EnterScope();
     2858#    endif
    28592859    dcd = xmallocz(sizeof(DIRCNRDATA), pszSrcFile, __LINE__);
    28602860    if (!dcd) {
     
    28962896        PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID);
    28972897        free(dcd);
    2898 # ifdef FORTIFY
    2899   Fortify_LeaveScope();
    2900 # endif
     2898#       ifdef FORTIFY
     2899        Fortify_LeaveScope();
     2900#        endif
    29012901        hwndFrame = (HWND) 0;
    29022902      }
Note: See TracChangeset for help on using the changeset viewer.