aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c
index 59a91a0f7..15277a40b 100644
--- a/src/path.c
+++ b/src/path.c
@@ -102,7 +102,7 @@ void path_global_init(void)
* However this is true only if <gstdio.h> helpers are used.
* MPD uses regular <stdio.h> functions.
* Those functions use encoding determined by GetACP(). */
- char win_charset[13];
+ static char win_charset[13];
sprintf(win_charset, "cp%u", GetACP());
charset = win_charset;
#endif