aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project
diff options
context:
space:
mode:
authorPeter Kohaut2017-03-08 22:43:47 +0100
committerPeter Kohaut2017-03-08 22:43:47 +0100
commit65ef0c8ff84588962a32ddc2df2e1de17325d0a5 (patch)
tree3db5405ed78a287ce950129e6b5925ca55f0a057 /devtools/create_project
parent27368cc8453f423955f5baa826611ea8a3b09feb (diff)
downloadscummvm-rg350-65ef0c8ff84588962a32ddc2df2e1de17325d0a5.tar.gz
scummvm-rg350-65ef0c8ff84588962a32ddc2df2e1de17325d0a5.tar.bz2
scummvm-rg350-65ef0c8ff84588962a32ddc2df2e1de17325d0a5.zip
CREATE_PROJECT: Fixed solution version for Visual Studio 2015
Diffstat (limited to 'devtools/create_project')
-rw-r--r--devtools/create_project/msbuild.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp
index 2389bb6cfb..762b3e4526 100644
--- a/devtools/create_project/msbuild.cpp
+++ b/devtools/create_project/msbuild.cpp
@@ -65,7 +65,10 @@ int MSBuildProvider::getVisualStudioVersion() {
}
int MSBuildProvider::getSolutionVersion() {
- return (_version == 15) ? 14 : _version + 1;
+ if (_version == 14 || _version == 15)
+ return 14;
+
+ return _version + 1;
}
namespace {