Changeset 1438 for trunk/dll/mainwnd2.c


Ignore:
Timestamp:
Jun 28, 2009, 10:47:00 PM (16 years ago)
Author:
Gregg Young
Message:

Improved drivebar changes; Added AddBackslashToPath() to remove repeatative code. replaced "
" with PCSZ variable; ANY_OBJ added the DosAlloc... (experimental)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mainwnd2.c

    r1437 r1438  
    224224      PSWP pswp, pswpClient, pswpNew;
    225225      SWP swpClient;
    226       ULONG theight = 48L, dheight = DRIVE_BUTTON_HEIGTH + 2, bheight = 20, sheight = 20;
     226      ULONG theight = 48L, dheight = DRIVE_BUTTON_HEIGHT, bheight = 20, sheight = 20;
    227227      LONG width, lastx;
    228228
     
    310310      pswpNew->hwnd = WinWindowFromID(hwnd, MAIN_DRIVES);
    311311      pswpNew->x = swpClient.x + 2;
    312       dheight += ((dheight - 2) * DriveLines);
    313       pswpNew->y = (swpClient.y + swpClient.cy) - (dheight - 2);
     312      dheight += ((dheight) * DriveLines);
     313      pswpNew->y = (swpClient.y + swpClient.cy) - (dheight);
    314314      if (fToolbar)
    315315        pswpNew->y -= theight;
    316316      pswpNew->cx = swpClient.cx - 4;
    317       pswpNew->cy = dheight - 4;
     317      pswpNew->cy = dheight;
    318318      pswpClient->cy -= dheight;
    319319      pswpClient->cy -= 2;
Note: See TracChangeset for help on using the changeset viewer.