From bbd2394d9a5587ba06d3fc6a15cf2b0d6595e406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 3 Dec 2003 18:37:17 +0000 Subject: Christian's suggested fix for using full iso-8859-1 when OSD encoding isn't specified or is NULL. I tested it helped. CVS patchset: 5831 CVS date: 2003/12/03 18:37:17 --- src/xine-engine/osd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xine-engine/osd.c b/src/xine-engine/osd.c index 4d04c3f61..478f5f772 100644 --- a/src/xine-engine/osd.c +++ b/src/xine-engine/osd.c @@ -835,7 +835,7 @@ static uint16_t osd_iconv_getunicode(iconv_t *cd, const char *encoding, char **i } } else { /* direct mapping without iconv */ - unicode = (*inbuf)[0]; + unicode = (unsigned char)(*inbuf)[0]; (*inbuf)++; (*inbytesleft)--; } -- cgit v1.2.3