Преглед изворни кода

Fix for space in argument, when argument is already quoted

Josh Engebretson пре 9 година
родитељ
комит
157df51096
1 измењених фајлова са 1 додато и 1 уклоњено
  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());
             }