diff options
Diffstat (limited to 'qmake/generators/win32/msvc_vcproj.cpp')
-rw-r--r-- | qmake/generators/win32/msvc_vcproj.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp index 33d01a41ef..7faab0b1bc 100644 --- a/qmake/generators/win32/msvc_vcproj.cpp +++ b/qmake/generators/win32/msvc_vcproj.cpp @@ -1693,11 +1693,11 @@ QString VcprojGenerator::fixFilename(QString ofile) const ofile = Option::fixPathToLocalOS(ofile); int slashfind = ofile.lastIndexOf(Option::dir_sep); if(slashfind == -1) { - ofile = ofile.replace('-', '_'); + ofile.replace('-', '_'); } else { int hyphenfind = ofile.indexOf('-', slashfind); while (hyphenfind != -1 && slashfind < hyphenfind) { - ofile = ofile.replace(hyphenfind, 1, '_'); + ofile.replace(hyphenfind, 1, '_'); hyphenfind = ofile.indexOf('-', hyphenfind + 1); } } |