forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.5' into 2.6
This commit is contained in:
@@ -84,7 +84,7 @@ int main(int argc, char **)
|
|||||||
// Get the command line and remove the call to this executable.
|
// Get the command line and remove the call to this executable.
|
||||||
wchar_t *strCommandLine = _wcsdup(GetCommandLine());
|
wchar_t *strCommandLine = _wcsdup(GetCommandLine());
|
||||||
const size_t strCommandLineLength = wcslen(strCommandLine);
|
const size_t strCommandLineLength = wcslen(strCommandLine);
|
||||||
size_t pos = 1;
|
size_t pos = 0;
|
||||||
bool quoted = false;
|
bool quoted = false;
|
||||||
while (pos < strCommandLineLength) {
|
while (pos < strCommandLineLength) {
|
||||||
if (strCommandLine[pos] == L'"') {
|
if (strCommandLine[pos] == L'"') {
|
||||||
|
Reference in New Issue
Block a user