Ignore:
Timestamp:
May 28, 2000, 1:41:44 PM (25 years ago)
Author:
sandervl
Message:

fixed bugs in GetVolumeInformationA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/disk.cpp

    r3593 r3620  
    1 /* $Id: disk.cpp,v 1.12 2000-05-23 18:45:12 sandervl Exp $ */
     1/* $Id: disk.cpp,v 1.13 2000-05-28 11:41:44 sandervl Exp $ */
    22
    33/*
     
    250250        if(!lpFileSystemNameBuffer) {
    251251                lpFileSystemNameBuffer = tmpstring;
     252                nFileSystemNameSize    = sizeof(tmpstring);
    252253        }
    253254        rc = OSLibDosQueryVolumeFS(drive, lpFileSystemNameBuffer, nFileSystemNameSize);
     
    255256   if(lpMaximumComponentLength) {
    256257        if(!strcmp(lpFileSystemNameBuffer, "FAT")) {
    257                 *lpMaximumComponentLength = 11;
     258                *lpMaximumComponentLength = 12;
    258259        }
    259260        else    *lpMaximumComponentLength = 255; //TODO: Always correct? (CDFS?)
Note: See TracChangeset for help on using the changeset viewer.