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

    r1039 r1063  
    201201    hab2 = WinInitialize(0);
    202202    if (hab2) {
    203 # ifdef FORTIFY
    204   Fortify_EnterScope();
    205 # endif
     203#     ifdef FORTIFY
     204      Fortify_EnterScope();
     205#      endif
    206206      hmq2 = WinCreateMsgQueue(hab2, 0);
    207207      if (hmq2) {
     
    315315      }
    316316      WinTerminate(hab2);
    317 # ifdef FORTIFY
     317#     ifdef FORTIFY
    318318      Fortify_LeaveScope();
    319 # endif
     319#      endif
    320320    }
    321321  }
     
    408408  hab = WinInitialize(0);
    409409  if (hab) {
    410 # ifdef FORTIFY
    411   Fortify_EnterScope();
    412 # endif
     410#   ifdef FORTIFY
     411    Fortify_EnterScope();
     412#    endif
    413413    hmq = WinCreateMsgQueue(hab, 0);
    414414    if (hmq) {
     
    693693    free(cmp);
    694694    WinTerminate(hab);
    695 # ifdef FORTIFY
     695#   ifdef FORTIFY
    696696    Fortify_LeaveScope();
    697 # endif
     697#    endif
    698698  }
    699699  else
     
    720720  hab = WinInitialize(0);
    721721  if (hab) {
    722 # ifdef FORTIFY
    723   Fortify_EnterScope();
    724 # endif
     722#   ifdef FORTIFY
     723    Fortify_EnterScope();
     724#    endif
    725725    hmq = WinCreateMsgQueue(hab, 0);
    726726    if (hmq) {
     
    758758    free(cmp);
    759759    WinTerminate(hab);
    760 # ifdef FORTIFY
     760#   ifdef FORTIFY
    761761    Fortify_LeaveScope();
    762 # endif
     762#    endif
    763763  }
    764764  else
     
    14711471  // 10 May 08 SHL fixme to suppress W111
    14721472  Fortify_EnterScope();
    1473 # endif
     1473#  endif
    14741474
    14751475  if (!cmp) {
    14761476    Runtime_Error2(pszSrcFile, __LINE__, IDS_NODATATEXT);
    1477 # ifdef FORTIFY
     1477#   ifdef FORTIFY
    14781478    // 10 May 08 SHL fixme to suppress W111
    14791479    Fortify_LeaveScope();
    1480 # endif
     1480#    endif
    14811481    _endthread();
    14821482  }
     
    21022102# ifdef FORTIFY
    21032103  Fortify_LeaveScope();
    2104 # endif
     2104#  endif
    21052105
    21062106  // DbgMsg(pszSrcFile, __LINE__, "FillCnrsThread exit");
     
    26512651      WinCheckButton(hwnd, COMP_HIDENOTSELECTED, 0);
    26522652      cmp->filling = TRUE;
    2653 # ifdef FORTIFY
    2654   Fortify_EnterScope();
    2655 # endif
     2653#     ifdef FORTIFY
     2654      Fortify_EnterScope();
     2655#      endif
    26562656      forthread = xmalloc(sizeof(COMPARE), pszSrcFile, __LINE__);
    26572657      if (!forthread)
     
    26662666          WinDismissDlg(hwnd, 0);
    26672667          free(forthread);
    2668 # ifdef FORTIFY
    2669   Fortify_LeaveScope();
    2670 # endif
     2668#         ifdef FORTIFY
     2669          Fortify_LeaveScope();
     2670#          endif
    26712671        }
    26722672        else {
Note: See TracChangeset for help on using the changeset viewer.