Consider F:\ a valid recent iso.

File::Exists didn't like it, since it turned it into "F:".
This commit is contained in:
Unknown W. Brackets committed 2013-07-28 12:33:21 -07:00
1 parent a2763a298e
commit fa7182ec34
1 file changed
+4
+4
View File
@@ -84,6 +84,10 @@ static void StripTailDirSlashes(std::string &fname)
if (fname.length() > 1)
{
size_t i = fname.length() - 1;
#ifdef _WIN32
if (i == 2 && fname[1] == ':' && fname[2] == '\\')
return;
#endif
while (strchr(DIR_SEP_CHRS, fname[i]))
fname[i--] = '\0';
}