summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-04-07 20:09:53 +0000
committeralberth <alberth@openttd.org>2010-04-07 20:09:53 +0000
commit1e48b2332e0540588f00a2ce227666fea840bb76 (patch)
tree570b929b4805af135e2d90f1a35796bf9c66ebbb /src/settings.cpp
parentf1da8d7281b25d1f9da952eed8d2f4660a43a815 (diff)
downloadopenttd-1e48b2332e0540588f00a2ce227666fea840bb76.tar.xz
(svn r19576) -Codechange: Unduplicating parse_intlist().
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index fc7df844a..6fec1cb55 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -156,7 +156,7 @@ static uint32 lookup_manyofmany(const char *many, const char *str)
* @param items pointer to the integerlist-array that will be filled with values
* @param maxitems the maximum number of elements the integerlist-array has
* @return returns the number of items found, or -1 on an error */
-static int parse_intlist(const char *p, int *items, int maxitems)
+int parse_intlist(const char *p, int *items, int maxitems)
{
int n = 0, v;
char *end;