summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2011-08-03 14:07:03 +0200
committerJoerg Bornemann <joerg.bornemann@nokia.com>2011-08-03 14:09:54 +0200
commitfabacc36e6cfa2f5f36ed27b09b3e0d61c547309 (patch)
treebb3df2d81acb4be990f89a72a6660f12fa18d543 /src/tools
parent566d29f8b3719ce082d0a980a148f8159d4edf18 (diff)
downloadqt-creator-fabacc36e6cfa2f5f36ed27b09b3e0d61c547309.tar.gz
fixup for qtcbuildhelper usage (change Ib6f5be80)
Change-Id: I4d265f2e0a077e7608cb51c5631f157cdb667481 Reviewed-on: http://codereview.qt.nokia.com/2565 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qtcbuildhelper/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qtcbuildhelper/main.cpp b/src/tools/qtcbuildhelper/main.cpp
index 93371c78fe..be5b85a0b9 100644
--- a/src/tools/qtcbuildhelper/main.cpp
+++ b/src/tools/qtcbuildhelper/main.cpp
@@ -95,7 +95,7 @@ int main(int argc, char **)
return 1;
if (!findFirst(strCommandLine, strCommandLineLength, pos, L" \t", pos))
return 1;
- wmemmove_s(strCommandLine, strCommandLineLength, strCommandLine + pos + 2, strCommandLineLength - pos);
+ wmemmove_s(strCommandLine, strCommandLineLength, strCommandLine + pos + 1, strCommandLineLength - pos);
bool bSuccess = startProcess(strCommandLine);
free(strCommandLine);