summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2014-03-27 22:18:54 -0400
committerSimon Howard2014-03-27 22:18:54 -0400
commitcea768a93430b1823cc3d2e683282833b70b75f1 (patch)
tree6da03cafb29586896ccbeda923377d3d49e6bf7e
parent16a0f227362f330bd9be0598f136eed05c811969 (diff)
downloadchocolate-doom-cea768a93430b1823cc3d2e683282833b70b75f1.tar.gz
chocolate-doom-cea768a93430b1823cc3d2e683282833b70b75f1.tar.bz2
chocolate-doom-cea768a93430b1823cc3d2e683282833b70b75f1.zip
Fix .rc files so version info shows on Windows 7.
Thanks to Brad Harding for the bug report. This fixes #319.
-rw-r--r--codeblocks/game-res.rc4
-rw-r--r--codeblocks/setup-res.rc6
-rw-r--r--msvc/win32.rc4
-rw-r--r--src/resource.rc.in6
-rw-r--r--src/setup-res.rc.in4
5 files changed, 22 insertions, 2 deletions
diff --git a/codeblocks/game-res.rc b/codeblocks/game-res.rc
index cde7a4df..ee16aaef 100644
--- a/codeblocks/game-res.rc
+++ b/codeblocks/game-res.rc
@@ -18,5 +18,9 @@ FILETYPE 1
VALUE "ProductVersion", "2.0.0"
}
}
+ BLOCK "VarFileInfo"
+ {
+ VALUE "Translation", 0x409, 1252
+ }
}
diff --git a/codeblocks/setup-res.rc b/codeblocks/setup-res.rc
index a3d1bba4..e78910a1 100644
--- a/codeblocks/setup-res.rc
+++ b/codeblocks/setup-res.rc
@@ -12,11 +12,15 @@ FILETYPE 1
VALUE "FileVersion", "2.0.0"
VALUE "FileDescription", "Chocolate Doom Setup"
VALUE "InternalName", "chocolate-setup"
- VALUE "CompanyName", "fraggle@gmail.com"
+ VALUE "CompanyName", "Chocolate Doom"
VALUE "LegalCopyright", "GNU General Public License"
VALUE "ProductName", "Chocolate Doom Setup"
VALUE "ProductVersion", "2.0.0"
}
}
+ BLOCK "VarFileInfo"
+ {
+ VALUE "Translation", 0x409, 1252
+ }
}
diff --git a/msvc/win32.rc b/msvc/win32.rc
index fc418521..7732e405 100644
--- a/msvc/win32.rc
+++ b/msvc/win32.rc
@@ -49,6 +49,10 @@ BEGIN
VALUE "ProductVersion", "2.0.0"
END
END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
END
// GhostlyDeath - Preferebly for codeblocks (if it even uses this RC!)
diff --git a/src/resource.rc.in b/src/resource.rc.in
index 04af386e..ad81e1a5 100644
--- a/src/resource.rc.in
+++ b/src/resource.rc.in
@@ -15,10 +15,14 @@ FILETYPE 1
VALUE "FileDescription", "@PACKAGE_STRING@"
VALUE "InternalName", "@PACKAGE_TARNAME@"
VALUE "CompanyName", "@PACKAGE_BUGREPORT@"
- VALUE "LegalCopyright", "@PACKAGE_COPYRIGHT@. Licensed under @PACKAGE_LICENSE@"
+ VALUE "LegalCopyright", "@PACKAGE_COPYRIGHT@. Licensed under @PACKAGE_LICENSE@"
VALUE "ProductName", "@PACKAGE_NAME@"
VALUE "ProductVersion", "@PACKAGE_VERSION@"
}
}
+ BLOCK "VarFileInfo"
+ {
+ VALUE "Translation", 0x409, 1252
+ }
}
diff --git a/src/setup-res.rc.in b/src/setup-res.rc.in
index ce647983..d82e136f 100644
--- a/src/setup-res.rc.in
+++ b/src/setup-res.rc.in
@@ -20,5 +20,9 @@ FILETYPE 1
VALUE "ProductVersion", "@PACKAGE_VERSION@"
}
}
+ BLOCK "VarFileInfo"
+ {
+ VALUE "Translation", 0x409, 1252
+ }
}