Changeset 572 for trunk/dll/filldir.c


Ignore:
Timestamp:
Mar 21, 2007, 3:52:36 AM (19 years ago)
Author:
Gregg Young
Message:

Convert win bmp to os2 increase extension check for icons to 4 letters from 3 add mommy make it stop to help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/filldir.c

    r557 r572  
    2929  17 Feb 07 GKY Add more drive types
    3030  09 Mar 07 GKY Use SelectDriveIcon
     31  20 Mar 07 GKY Increase extention check to 4 letters for icon selections
    3132
    3233***********************************************************************/
     
    5657  HPOINTER hptr;
    5758  ULONG cmp;
    58   CHAR cmps[4];
     59  CHAR cmps[5];
    5960
    6061  p = strrchr(p, '.');
    61   if (p && !p[4]) {
     62  if (p && !p[5]) {
    6263    cmps[0] = '.';
    6364    cmps[1] = toupper(p[1]);
    6465    cmps[2] = toupper(p[2]);
    6566    cmps[3] = toupper(p[3]);
     67    cmps[4] = toupper(p[4]);
    6668
    6769    cmp = *(ULONG *) cmps;
Note: See TracChangeset for help on using the changeset viewer.