fixed handling of -i in windows

This commit is contained in:
Daniel Marjamaki 2012-02-04 19:21:38 +01:00
parent a383010012
commit 2ff592e8d9
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
path = Path::simplifyPath(path.c_str()); path = Path::simplifyPath(path.c_str());
path = Path::removeQuotationMarks(path); path = Path::removeQuotationMarks(path);
if (!FileLister::fileExists(path) && FileLister::isDirectory(path)) { if (FileLister::isDirectory(path)) {
// If directory name doesn't end with / or \, add it // If directory name doesn't end with / or \, add it
if (path[path.length()-1] != '/') if (path[path.length()-1] != '/')
path += '/'; path += '/';