Commit 9f05c12d authored by Gildas Bazin's avatar Gildas Bazin

* src/libvlc.c: failing of bindtextdomain() does not mean that there exists no...

* src/libvlc.c: failing of bindtextdomain() does not mean that there exists no DOMAIN in the locale path. It means that a memory error has occured. The error message was generalized. Patch by Daniel Stranger (vlc at schmaller dot de).
parent 640f75ed
...@@ -1993,7 +1993,7 @@ static void SetLanguage ( char const *psz_lang ) ...@@ -1993,7 +1993,7 @@ static void SetLanguage ( char const *psz_lang )
#endif #endif
if( !bindtextdomain( PACKAGE_NAME, psz_path ) ) if( !bindtextdomain( PACKAGE_NAME, psz_path ) )
{ {
fprintf( stderr, "warning: no domain %s in directory %s\n", fprintf( stderr, "warning: couldn't bind domain %s in directory %s\n",
PACKAGE_NAME, psz_path ); PACKAGE_NAME, psz_path );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment