[gens-sdl] gens-sdl.rc: Removed embedded NULLs in strings.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Thu, 3 Sep 2015 03:24:56 +0000 (23:24 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Thu, 3 Sep 2015 03:24:56 +0000 (23:24 -0400)
This was apparently a thing because Microsoft did this in an example
resource script years ago, but it's not necessary.

Reference: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/66e0c3d2-d7d7-46f9-a5ad-6da98d3de0ac/windows-7-not-displaying-all-the-information-from-versioninfo-block?forum=windowsgeneraldevelopmentissues

src/gens-sdl/win32/gens-sdl.rc

index 33ef72b..0278f65 100644 (file)
@@ -66,18 +66,18 @@ BEGIN
        BEGIN
                BLOCK "040904b0"
                BEGIN
-                       //VALUE "Comments", "\0"
-                       //VALUE "CompanyName", "\0"
-                       VALUE "FileDescription", "Gens/GS II " GENS_GS_VERSION "\0"
-                       VALUE "FileVersion", "Gens/GS II " Win32_RC_FileVersion "\0"
-                       VALUE "InternalName", "Gens/GS II\0"
-                       //VALUE "LegalCopyright", "\0"
-                       //VALUE "LegalTrademarks", "\0"
-                       //VALUE "OriginalFilename", "\0"
-                       //VALUE "PrivateBuild", "\0"
-                       VALUE "ProductName", "Gens/GS II\0"
-                       VALUE "ProductVersion", "Gens/GS II " Win32_RC_FileVersion "\0"
-                       //VALUE "SpecialBuild", "\0"
+                       //VALUE "Comments", ""
+                       //VALUE "CompanyName", ""
+                       VALUE "FileDescription", "Gens/GS II " GENS_GS_VERSION ""
+                       VALUE "FileVersion", "Gens/GS II " Win32_RC_FileVersion ""
+                       VALUE "InternalName", "Gens/GS II"
+                       //VALUE "LegalCopyright", ""
+                       //VALUE "LegalTrademarks", ""
+                       //VALUE "OriginalFilename", ""
+                       //VALUE "PrivateBuild", ""
+                       VALUE "ProductName", "Gens/GS II"
+                       VALUE "ProductVersion", "Gens/GS II " Win32_RC_FileVersion
+                       //VALUE "SpecialBuild", ""
                END
        END
        BLOCK "VarFileInfo"