mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*SysInfo: Fixed error in GetDriveInformation
git-svn-id: svn://ultimatepp.org/upp/trunk@10325 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a4a4f0f7fe
commit
73473015fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue