From fabacc36e6cfa2f5f36ed27b09b3e0d61c547309 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 3 Aug 2011 14:07:03 +0200 Subject: [PATCH] fixup for qtcbuildhelper usage (change Ib6f5be80) Change-Id: I4d265f2e0a077e7608cb51c5631f157cdb667481 Reviewed-on: http://codereview.qt.nokia.com/2565 Reviewed-by: Joerg Bornemann Reviewed-by: Qt Sanity Bot --- src/tools/qtcbuildhelper/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- GitLab