Changeset 551 for trunk/databar.c


Ignore:
Timestamp:
Feb 28, 2007, 2:33:51 AM (18 years ago)
Author:
Gregg Young
Message:

Indentation cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/databar.c

    r273 r551  
    3232#ifdef NEVER
    3333
    34 VOID APIENTRY deinit (ULONG why) {
     34VOID APIENTRY deinit(ULONG why)
     35{
    3536
    36   if(fmprof)
     37  if (fmprof)
    3738    PrfCloseProfile(fmprof);
    38   fmprof = (HINI)0;
     39  fmprof = (HINI) 0;
    3940
    4041  flushall();
    4142
    42   DosExitList(EXLST_REMOVE,deinit);
     43  DosExitList(EXLST_REMOVE, deinit);
    4344}
    4445
    4546#endif
    4647
    47 int main (int argc,char *argv[]) {
     48int main(int argc, char *argv[])
     49{
    4850
    49   HAB         hab;
    50   HMQ         hmq;
    51   QMSG        qmsg;
     51  HAB hab;
     52  HMQ hmq;
     53  QMSG qmsg;
    5254
    53   strcpy(appname,"DATABAR");
     55  strcpy(appname, "DATABAR");
    5456
    5557# ifdef NEVER
    56   DosExitList(EXLST_ADD,deinit);
     58  DosExitList(EXLST_ADD, deinit);
    5759# endif
    5860
    5961  hab = WinInitialize(0);
    60   if(hab) {
    61     hmq = WinCreateMsgQueue(hab,384);
    62     if(hmq) {
    63       if(InitFM3DLL(hab,argc,argv)) {
    64         if(CreateDataBar(HWND_DESKTOP,0)) {
    65           while(WinGetMsg(hab,&qmsg,(HWND)0,0,0))
    66             WinDispatchMsg(hab,&qmsg);
    67         }
     62  if (hab) {
     63    hmq = WinCreateMsgQueue(hab, 384);
     64    if (hmq) {
     65      if (InitFM3DLL(hab, argc, argv)) {
     66        if (CreateDataBar(HWND_DESKTOP, 0)) {
     67          while (WinGetMsg(hab, &qmsg, (HWND) 0, 0, 0))
     68            WinDispatchMsg(hab, &qmsg);
     69        }
    6870      }
    6971      WinDestroyMsgQueue(hmq);
     
    7375  return 0;
    7476}
    75 
Note: See TracChangeset for help on using the changeset viewer.