tCorrect a bug with reading the global configuration file under Win32. - vaccin… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit cdaab7cc8bfabf1bb6238cc895cff9b967c4d560 | |
parent 7cc115b833d05c9317307d467d49e96f7f9a5ae0 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 27 Sep 2004 04:16:33 +0000 | |
Correct a bug with reading the global configuration file under Win32. | |
Diffstat: | |
M src/dopewars.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/dopewars.c b/src/dopewars.c | |
t@@ -2387,7 +2387,7 @@ gchar *GetGlobalConfigFile(void) | |
/* Global configuration is in the same directory as the dopewars binary */ | |
bindir = GetBinaryDir(); | |
if (bindir) { | |
- conf = g_strdup_printf("%s/dopewars-config.txt", conf); | |
+ conf = g_strdup_printf("%s/dopewars-config.txt", bindir); | |
g_free(bindir); | |
} | |
return conf; |