]> git.sesse.net Git - vlc/commitdiff
Second (blind) attempt at fixing win and mac.
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 22 Dec 2009 11:31:10 +0000 (12:31 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 22 Dec 2009 11:31:43 +0000 (12:31 +0100)
src/libvlc.c

index aa512d2b238558d5bd74fc9672aec2d355e9685c..f9e87ad6bbaf95dafbfbe93dc31917014b3e29a8 100644 (file)
@@ -1245,7 +1245,7 @@ static inline int LoadMessages (void)
 #else
     char psz_path[1024];
     if (snprintf (psz_path, sizeof (psz_path), "%s" DIR_SEP "%s",
-                  config_GetDataDir(), "locale")
+                  config_GetDataDirDefault(), "locale")
                      >= (int)sizeof (psz_path))
         return -1;