Fix regression in mount suggestion in imgmount. Thanks ripsaw
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3520
This commit is contained in:
parent
3cbf1c42e5
commit
1c5f8442c7
1 changed files with 4 additions and 5 deletions
|
@ -1105,13 +1105,12 @@ public:
|
|||
WriteOut(MSG_Get("PROGRAM_IMGMOUNT_FILE_NOT_FOUND"));
|
||||
return;
|
||||
}
|
||||
|
||||
if ((test.st_mode & S_IFDIR)) {
|
||||
WriteOut(MSG_Get("PROGRAM_IMGMOUNT_MOUNT"));
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((test.st_mode & S_IFDIR)) {
|
||||
WriteOut(MSG_Get("PROGRAM_IMGMOUNT_MOUNT"));
|
||||
return;
|
||||
}
|
||||
paths.push_back(temp_line);
|
||||
}
|
||||
if (paths.size() == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue