[MPlayer-cvslog] r34988 - trunk/path.c

reimar subversion at mplayerhq.hu
Sat Jun 2 19:54:41 CEST 2012


Author: reimar
Date: Sat Jun  2 19:54:41 2012
New Revision: 34988

Log:
config_dir variable should not be static, but it should point
to _const_ chars.

Modified:
   trunk/path.c

Modified: trunk/path.c
==============================================================================
--- trunk/path.c	Sat Jun  2 18:35:44 2012	(r34987)
+++ trunk/path.c	Sat Jun  2 19:54:41 2012	(r34988)
@@ -48,9 +48,9 @@ char *get_path(const char *filename){
 	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


More information about the MPlayer-cvslog mailing list