1
0
Fork 0

drive => i_drive

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4242
This commit is contained in:
Peter Veenstra 2019-06-25 14:51:25 +00:00
parent ad88f982c0
commit 551ee5b2fd

View file

@ -1229,7 +1229,7 @@ public:
return;
}
int i_drive = toupper(temp_line[0]);
if (!isalpha(drive) || (i_drive - 'A') >= DOS_DRIVES || (i_drive - 'A') <0) {
if (!isalpha(i_drive) || (i_drive - 'A') >= DOS_DRIVES || (i_drive - 'A') <0) {
WriteOut_NoParsing(MSG_Get("PROGRAM_IMGMOUNT_SPECIFY_DRIVE"));
return;
}