shithub: choc

Download patch

ref: 4af7ea5ba13f4f04ac9c505e0c0e20cef545b767
parent: a55ed79bc31af362885c9e92b5a3e7e5129f0045
author: Simon Howard <[email protected]>
date: Tue Dec 2 13:59:42 EST 2008

Use PROGRAM_PREFIX for defining config file filenames.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1401

--- a/src/setup/mode.c
+++ b/src/setup/mode.c
@@ -50,9 +50,9 @@
 
 static mission_config_t config_files[] =
 {
-    { doom,     "doom",    "default.cfg",       "chocolate-doom.cfg" },
-    { heretic,  "heretic", "heretic.cfg",       "chocolate-heretic.cfg" },
-    { hexen,    "hexen",   "hexen.cfg",         "chocolate-hexen.cfg" },
+    { doom,     "doom",    "default.cfg", PROGRAM_PREFIX "doom.cfg" },
+    { heretic,  "heretic", "heretic.cfg", PROGRAM_PREFIX "heretic.cfg" },
+    { hexen,    "hexen",   "hexen.cfg",   PROGRAM_PREFIX "hexen.cfg" },
 };
 
 // Miscellaneous variables that aren't used in setup.