Changeset 200 for trunk/dll/mainwnd.c


Ignore:
Timestamp:
Jun 8, 2005, 7:54:47 AM (20 years ago)
Author:
root
Message:

Rework MainWMCommand for VAC3.65 compat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd.c

    r186 r200  
    1717  26 May 05 SHL Comments and localize code
    1818  05 Jun 05 SHL Use QWL_USER
     19  06 Jun 05 SHL Rework MainWMCommand for VAC3.65 compat
    1920
    2021***********************************************************************/
     
    6364static USHORT firsttool = 0;
    6465
    65 static BOOL CloseDirCnrChildren (HWND hwndClient);
    66 static BOOL RestoreDirCnrState (HWND hwndClient,CHAR *name,BOOL noview);
     66static BOOL CloseDirCnrChildren(HWND hwndClient);
     67static BOOL RestoreDirCnrState(HWND hwndClient, CHAR * name, BOOL noview);
    6768
    6869static MRESULT EXPENTRY MainObjectWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
     
    121122          CommaFmtULL(szQty,
    122123                      sizeof(szQty),
    123                       ullFreeQty,' ');
     124                      ullFreeQty, ' ');
    124125          sprintf(s,
    125126                  "%s (%lu%%) free",
     
    37923793       ulSquare * ulSquare <= ulChildCnt;
    37933794       ulSquare++)
     3795  {
    37943796    ;
     3797  }
    37953798  if (!fTileBackwards)
    37963799  {
     
    39363939
    39373940static VOID ResizeChildren(HWND hwndClient, SHORT oldcx, SHORT oldcy, SHORT newcx,
    3938                     SHORT newcy)
     3941                           SHORT newcy)
    39393942{
    39403943  /*
     
    41744177        }
    41754178        break;
    4176       } // switch id
     4179      } // switch id
     4180
    41774181      if (cmd)
     4182      {
    41784183        PostMsg(WinWindowFromID(WinQueryWindow(hwnd, QW_PARENT), FID_CLIENT),
    41794184                WM_COMMAND,
    41804185                MPFROM2SHORT(cmd, 0),
    41814186                MPVOID);
     4187      }
    41824188    }
    41834189    break;
     
    49324938        {
    49334939
    4934           CHAR *d1 = "\"", *d2 = "\"";
     4940          CHAR d1[] = "\"";
     4941          CHAR d2[] = "\"";
    49354942
    49364943          if (!needs_quoting(wa.szCurrentPath1))
     
    51055112          swp.cx == swpD.cx &&
    51065113          swp.cy == swpD.cy &&
    5107           // fixme to be #defined someday
     5114      // fixme to be #defined someday
    51085115          WinQueryWindowUShort(hwnd, QWL_USER + 10) &&
    51095116          WinQueryWindowUShort(hwnd, QWL_USER + 14))
     
    61806187        mi.iPosition = MIT_END;
    61816188        mi.afStyle = MIS_SEPARATOR;
    6182         mi.id = -1;
     6189        mi.id = (USHORT) -1;
    61836190        WinSendMsg(hwndSysSubMenu,
    61846191                   MM_INSERTITEM,
Note: See TracChangeset for help on using the changeset viewer.