summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/win32/msvc_objectmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/win32/msvc_objectmodel.cpp b/qmake/generators/win32/msvc_objectmodel.cpp
index 9aa73c084c..579d3117ef 100644
--- a/qmake/generators/win32/msvc_objectmodel.cpp
+++ b/qmake/generators/win32/msvc_objectmodel.cpp
@@ -1151,7 +1151,7 @@ bool VCCLCompilerTool::parseOption(const char* option)
case 'u':
if (!second)
UndefineAllPreprocessorDefinitions = _True;
- else if (second == 't' && third == 'f' && fourth == '8')
+ else if (strcmp(option + 2, "tf-8") == 0)
AdditionalOptions += option;
else
found = false;