summaryrefslogtreecommitdiff
path: root/src/bldprogs
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2017-12-28 20:42:59 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2017-12-28 20:42:59 +0000
commit3eed2cd2774411aa36d3cb9d007bbbb75da12ac2 (patch)
treee94c08c036c5036462820adf7a46d2687251af67 /src/bldprogs
parentde81492b2a8fef7a8ffd2e353bfd04930593985f (diff)
downloadVirtualBox-svn-3eed2cd2774411aa36d3cb9d007bbbb75da12ac2.tar.gz
VBoxPeSetVersion: didn't fix default when adding MK_VER. :-(
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@70373 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/bldprogs')
-rw-r--r--src/bldprogs/VBoxPeSetVersion.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bldprogs/VBoxPeSetVersion.cpp b/src/bldprogs/VBoxPeSetVersion.cpp
index 95b605b25a9..231fbe68c48 100644
--- a/src/bldprogs/VBoxPeSetVersion.cpp
+++ b/src/bldprogs/VBoxPeSetVersion.cpp
@@ -213,7 +213,7 @@ int main(int argc, char **argv)
* Parse arguments.
* This stucks
*/
- unsigned uNtVersion = 31;
+ unsigned uNtVersion = MK_VER(3,10);
const char *pszFilename = NULL;
bool fAcceptOptions = true;
for (int i = 1; i < argc; i++)
@@ -242,13 +242,13 @@ int main(int argc, char **argv)
else
{
if (strcmp(psz, "nt31") == 0)
- uNtVersion = MK_VER(3, 10);
+ uNtVersion = MK_VER(3,10);
else if (strcmp(psz, "nt350") == 0)
- uNtVersion = MK_VER(3, 50);
+ uNtVersion = MK_VER(3,50);
else if (strcmp(psz, "nt351") == 0)
- uNtVersion = MK_VER(3, 51);
+ uNtVersion = MK_VER(3,51);
else if (strcmp(psz, "nt4") == 0)
- uNtVersion = MK_VER(4, 0);
+ uNtVersion = MK_VER(4,0);
else if (strcmp(psz, "w2k") == 0)
uNtVersion = MK_VER(5,0);
else if (strcmp(psz, "xp") == 0)