diff options
author | Peter Kohaut | 2017-03-08 22:43:47 +0100 |
---|---|---|
committer | Peter Kohaut | 2017-03-08 22:43:47 +0100 |
commit | 65ef0c8ff84588962a32ddc2df2e1de17325d0a5 (patch) | |
tree | 3db5405ed78a287ce950129e6b5925ca55f0a057 /devtools | |
parent | 27368cc8453f423955f5baa826611ea8a3b09feb (diff) | |
download | scummvm-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')
-rw-r--r-- | devtools/create_project/msbuild.cpp | 5 |
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 { |