From: Antoine Cellerier Date: Tue, 22 Dec 2009 11:31:10 +0000 (+0100) Subject: Second (blind) attempt at fixing win and mac. X-Git-Tag: 1.1.0-ff~1792 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2093cfa748bfa6f4f4e6582b8527729d4145ae0f;p=vlc Second (blind) attempt at fixing win and mac. --- diff --git a/src/libvlc.c b/src/libvlc.c index aa512d2b23..f9e87ad6bb 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -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;