*SysInfo: Fixed error in GetDriveInformation

git-svn-id: svn://ultimatepp.org/upp/trunk@10325 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2016-10-16 14:35:36 +00:00
parent a4a4f0f7fe
commit 73473015fd

View file

@ -1528,7 +1528,7 @@ bool GetDriveInformation(String drive, String &type, String &volume, /*uint64 &s
case DRIVE_UNKNOWN: type = "Drive unknown"; break;
case DRIVE_NO_ROOT_DIR: type = "The root directory does not exist"; break;
case DRIVE_REMOVABLE:
switch (*sb) {
switch (drive[0]) {
case 'A':
case 'B': type = "Floppy";
volume = fileSystem = "";