summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-01-08 11:40:42 +0000
committerpeter1138 <peter1138@openttd.org>2009-01-08 11:40:42 +0000
commit45f1d83bc76d7d4d47885cf8489669300d072f8c (patch)
treed79a4e8ad26b6f19b4b4c52426d8ec541979f994
parent6b6fd360505d4ec65a1a013a0dc4dbd4b121ddbf (diff)
downloadopenttd-45f1d83bc76d7d4d47885cf8489669300d072f8c.tar.xz
(svn r14908) -Codechange: Add support for text parameters.
-rw-r--r--src/driver.cpp2
-rw-r--r--src/driver.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/driver.cpp b/src/driver.cpp
index 99462de6c..3a0653990 100644
--- a/src/driver.cpp
+++ b/src/driver.cpp
@@ -25,7 +25,7 @@ char *_ini_musicdriver;
char *_ini_blitter;
-static const char* GetDriverParam(const char* const* parm, const char* name)
+const char* GetDriverParam(const char* const* parm, const char* name)
{
size_t len;
diff --git a/src/driver.h b/src/driver.h
index e4d9e4627..727e9875f 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -10,6 +10,7 @@
#include "string_func.h"
#include <map>
+const char *GetDriverParam(const char * const *parm, const char *name);
bool GetDriverParamBool(const char * const *parm, const char *name);
int GetDriverParamInt(const char * const *parm, const char *name, int def);