# HG changeset patch # User reimar # Date 1338659681 0 # Node ID 139743f7e0850e078103b1b44bccec62c3da4372 # Parent 3688864260e80802e5430d0e73bfa511ef65d1e2 config_dir variable should not be static, but it should point to _const_ chars. diff -r 3688864260e8 -r 139743f7e085 path.c --- a/path.c Sat Jun 02 16:35:44 2012 +0000 +++ b/path.c Sat Jun 02 17:54:41 2012 +0000 @@ -48,9 +48,9 @@ char *homedir; char *buff; #ifdef __MINGW32__ - static char *config_dir = "/mplayer"; + const char *config_dir = "/mplayer"; #else - static char *config_dir = "/.mplayer"; + const char *config_dir = "/.mplayer"; #endif int len; #ifdef CONFIG_MACOSX_BUNDLE