Skip to content

Commit

Permalink
-Fix: defaultValue param of Ini_GetString() is a string, not a char
Browse files Browse the repository at this point in the history
clang was complaining
  • Loading branch information
miniupnp committed Sep 26, 2015
1 parent 63f2464 commit 3bec14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenario.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ static void Scenario_Load_MapParts(const char *key, void (*ptr)(uint16 packed, T
char *s;
char buf[128];

Ini_GetString("MAP", key, '\0', buf, 127, s_scenarioBuffer);
Ini_GetString("MAP", key, "", buf, 127, s_scenarioBuffer);

s = strtok(buf, ",\r\n");
while (s != NULL) {
Expand Down

0 comments on commit 3bec14e

Please sign in to comment.