Changeset 70 for trunk/dll/misc.c


Ignore:
Timestamp:
Nov 5, 2003, 2:18:25 AM (22 years ago)
Author:
root
Message:

Add JFS and FAT32 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r2 r70  
     1
     2/***********************************************************************
     3
     4  $Id$
     5
     6  Misc support functions
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2003 Steven H.Levine
     10
     11  Revisions     11 Jun 03 SHL - Add JFS and FAT32 support
     12
     13***********************************************************************/
     14
    115#define INCL_DOS
    216#define INCL_WIN
     
    298312
    299313
    300 BOOL AdjustCnrColRO (HWND hwndCnr,CHAR *title,BOOL readonly,BOOL toggle) {
    301 
     314BOOL AdjustCnrColRO (HWND hwndCnr,CHAR *title,BOOL readonly,BOOL toggle)
     315{
    302316  PFIELDINFO pfi;
    303317
     
    340354  x = CheckDrive(toupper(*directory),FileSystem,NULL);
    341355  if(x != -1) {
    342     if(!stricmp(FileSystem,HPFS) || !stricmp(FileSystem,HPFS386)) {
     356    if (!stricmp(FileSystem,HPFS) ||
     357        !stricmp(FileSystem,JFS) ||
     358        !stricmp(FileSystem,CDFS) ||
     359        !stricmp(FileSystem,FAT32) ||
     360        !stricmp(FileSystem,HPFS386))
     361    {
    343362      showem = TRUE;
    344363      showemA = TRUE;
    345364    }
    346     else if(!strcmp(FileSystem,CDFS)) {
     365    else if (!strcmp(FileSystem,CDFS))
     366    {
    347367      showem = TRUE;
    348368      showemA = FALSE;
     
    351371      showem = showemA = FALSE;
    352372  }
    353   else  /* assume FAT */
     373  else
     374  {
     375    /* assume FAT */
    354376    showem = showemA = FALSE;
     377  }
    355378  bool = (dcd) ? &dcd->detailsladate : &detailsladate;
    356379  AdjustCnrColVis(hwndCnr,GetPString(IDS_LADATE),
Note: See TracChangeset for help on using the changeset viewer.