shithub: choc

Download patch

ref: 8430f8c3d0448d41a15fb144a2cff4af4d94eeb7
parent: 0f981a64861c3d9593af1613e68f05d93958a81b
author: Simon Howard <fraggle@gmail.com>
date: Wed Aug 20 14:27:56 EDT 2008

Use / as a path separator, to allow cross-compiling of resource files
(thanks Anonymous bug reporter)

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1190

--- a/codeblocks/game-res.rc
+++ b/codeblocks/game-res.rc
@@ -1,4 +1,4 @@
-1 ICON "..\\data\\doom.ico"
+1 ICON "../data/doom.ico"
 
 1 VERSIONINFO
 PRODUCTVERSION 1,1,1,0
--- a/codeblocks/setup-res.rc
+++ b/codeblocks/setup-res.rc
@@ -1,4 +1,4 @@
-1 ICON "..\\data\\setup.ico"
+1 ICON "../data/setup.ico"
 
 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup-manifest.xml"
 
--- a/setup/setup-res.rc.in
+++ b/setup/setup-res.rc.in
@@ -1,4 +1,4 @@
-1 ICON "..\\data\\setup.ico"
+1 ICON "../data/setup.ico"
 
 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup-manifest.xml"
 
--- a/src/resource.rc.in
+++ b/src/resource.rc.in
@@ -1,4 +1,4 @@
-1 ICON "..\\data\\doom.ico"
+1 ICON "../data/doom.ico"
 
 1 VERSIONINFO
 PRODUCTVERSION @WINDOWS_RC_VERSION@