Changeset 860 for trunk/dll/init.c


Ignore:
Timestamp:
Nov 10, 2007, 11:58:43 PM (18 years ago)
Author:
Gregg Young
Message:

Use the thousand separator from NLS Country info for file sizes. Repalce dir.ico & pmap.bmp with new versions from David

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r856 r860  
    3636  25 Aug 07 SHL Work around DosSetPathInfo kernel defect
    3737  01 Sep 07 GKY Use xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry
     38  10 Nov 07 GKY Get thousands separator from country info for file sizes.
    3839
    3940***********************************************************************/
     
    5354#define INCL_DOSERRORS
    5455#define INCL_LONGLONG
     56#define INCL_DOSNLS
    5557#include <os2.h>
    5658#include <os2me.h>
     
    941943  CollectorsortFlags = sortFlags = SORT_DIRSFIRST;
    942944
     945  //Get default Country info
     946  {
     947  COUNTRYCODE Country    = {0};
     948  ULONG ulInfoLen  = 0;
     949  COUNTRYINFO CtryInfo   = {0};
     950
     951  DosQueryCtryInfo(sizeof(CtryInfo), &Country,
     952                   &CtryInfo, &ulInfoLen);
     953  *ThousandsSeparator = CtryInfo.szThousandsSeparator[0];
     954  }
     955
    943956  // load preferences from profile (INI) file
    944957  size = sizeof(BOOL);
Note: See TracChangeset for help on using the changeset viewer.