diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-21 09:18:39 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-21 09:18:39 +0000 |
commit | 3c64af460614b4bf637918ec69310891f3387339 (patch) | |
tree | fb6d7c3f3d35057c420e80b46a219547641401c6 | |
parent | a0a2feeda5d8d93a74ceeb0d774d86627c84dfcb (diff) | |
download | openttd-3c64af460614b4bf637918ec69310891f3387339.tar.xz |
(svn r4498) - Use an item's name instead of value when parsing configuration lists.
-rw-r--r-- | settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c index 5dbc11fbf..413e8ac53 100644 --- a/settings.c +++ b/settings.c @@ -800,7 +800,7 @@ static void ini_load_setting_list(IniFile *ini, const char *grpname, char **list item = group->item; for (i = 0; i != len; i++) { if (item == NULL) break; - list[i] = strdup(item->value); + list[i] = strdup(item->name); item = item->next; } } |