summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-06-29 14:14:20 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-07-06 13:35:29 +0200
commit75deec346278783d52f00a088c69f05d10e3b741 (patch)
tree2d7dd94eac50c0e2a075f42e5fdfcab2f66f966b /qmake
parentd17f25917452371dfe6df658d5becbbb2df2631a (diff)
QMake: fixup a mistake when porting to QRE
The original expression seems to have been accidentally changed during the port. Amends a1947aeffe158a0ea7de3ced1bf8d6a4719a27ef. Change-Id: I87821e1e025621a5efaf7a1e4f946fd3109fb256 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/makefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 0fbfd0c9ef..c64ed284c1 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -1678,7 +1678,7 @@ MakefileGenerator::replaceExtraCompilerVariables(
fullVal = val.join(' ');
}
ret.replace(match.capturedStart(), match.capturedLength(), fullVal);
- rep = match.capturedStart(), fullVal.length();
+ rep += fullVal.length();
} else {
rep = match.capturedEnd();
}