1
0
Fork 0

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:
Peter Veenstra 2009-12-29 13:49:29 +00:00
parent 3cbf1c42e5
commit 1c5f8442c7

View file

@ -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) {