From 2ff592e8d9ee8aae4397a4a974e3b6150f88c11c Mon Sep 17 00:00:00 2001 From: Daniel Marjamaki Date: Sat, 4 Feb 2012 19:21:38 +0100 Subject: [PATCH] fixed handling of -i in windows --- cli/cmdlineparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index f395ddd3d..c979c8f55 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -411,7 +411,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[]) path = Path::simplifyPath(path.c_str()); 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 (path[path.length()-1] != '/') path += '/';