Changeset 1438 for trunk/dll/common.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/common.c

    r1400 r1438  
    518518                             (swp->cy -
    519519                              WinQuerySysValue(HWND_DESKTOP,
    520                                                SV_CYSIZEBORDER)) - 30,
     520                                               SV_CYSIZEBORDER)) -
     521                             (DRIVE_BUTTON_HEIGHT),
    521522                             swp->cx -
    522523                             (WinQuerySysValue(HWND_DESKTOP,
    523524                                               SV_CXSIZEBORDER) * 2),
    524                              30,
     525                             DRIVE_BUTTON_HEIGHT,
    525526                             hwndFrame, HWND_TOP, MAIN_DRIVES, NULL, NULL);
    526527
     
    859860            (*s) ? s : NullStr, (*s) ? " " : NullStr,
    860861            directory,
    861             (directory[strlen(directory) - 1] == '\\') ? "\\" : NullStr);
     862            (directory[strlen(directory) - 1] == '\\') ? PCSZ_BACKSLASH : NullStr);
    862863  }
    863864  return hwndDir;
Note: See TracChangeset for help on using the changeset viewer.