Browse Source

Fix for space in argument, when argument is already quoted

Josh Engebretson 9 years ago
parent
commit
157df51096
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/AtomicApp/AppBase.cpp

+ 1 - 1
Source/AtomicApp/AppBase.cpp

@@ -55,7 +55,7 @@ namespace Atomic
             Vector<String> args = arguments_;
             for (unsigned i = 0; i < args.Size(); i++)
             {
-                if (arguments_[i].Contains(" "))
+                if (arguments_[i].Contains(" ") && !arguments_[i].Contains("\""))
                     args[i] = ToString("\"%s\"", arguments_[i].CString());
             }