diff options
Diffstat (limited to 'src/libs/utils/process_ctrlc_stub.cpp')
-rw-r--r-- | src/libs/utils/process_ctrlc_stub.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/process_ctrlc_stub.cpp b/src/libs/utils/process_ctrlc_stub.cpp index 2036e3820f..f3535693f9 100644 --- a/src/libs/utils/process_ctrlc_stub.cpp +++ b/src/libs/utils/process_ctrlc_stub.cpp @@ -86,7 +86,7 @@ int main(int argc, char **) // Get the command line and remove the call to this executable. wchar_t *strCommandLine = _wcsdup(GetCommandLine()); const size_t strCommandLineLength = wcslen(strCommandLine); - size_t pos = 1; + size_t pos = 0; bool quoted = false; while (pos < strCommandLineLength) { if (strCommandLine[pos] == L'"') { |