]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Second (blind) attempt at fixing win and mac.
[vlc] / 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;