[MPlayer-cvslog] r22024 - trunk/mp_msg.c
reimar
subversion at mplayerhq.hu
Sat Jan 27 11:11:40 CET 2007
Author: reimar
Date: Sat Jan 27 11:11:40 2007
New Revision: 22024
Modified:
trunk/mp_msg.c
Log:
Handle mp_msg_charset == NULL correctly in filename_recode.
Patch by Vladimir Voroshilov - voroshil gmail com
Modified: trunk/mp_msg.c
==============================================================================
--- trunk/mp_msg.c (original)
+++ trunk/mp_msg.c Sat Jan 27 11:11:40 2007
@@ -48,7 +48,8 @@
static char recoded_filename[MSGSIZE_MAX];
size_t filename_len, max_path;
char* precoded;
- if (!strcasecmp(mp_msg_charset, MSG_CHARSET) ||
+ if (!mp_msg_charset ||
+ !strcasecmp(mp_msg_charset, MSG_CHARSET) ||
!strcasecmp(mp_msg_charset, "noconv"))
return filename;
if (inv_msgiconv == (iconv_t)(-1)) {
More information about the MPlayer-cvslog
mailing list