diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2003-12-03 18:37:17 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2003-12-03 18:37:17 +0000 |
commit | bbd2394d9a5587ba06d3fc6a15cf2b0d6595e406 (patch) | |
tree | 7dd26c9cfd11f1dcb482dd3bb14adf573007cdbf | |
parent | c4e28fdea4de75b0ed0b57efadd50449f8dfa4d6 (diff) | |
download | xine-lib-bbd2394d9a5587ba06d3fc6a15cf2b0d6595e406.tar.gz xine-lib-bbd2394d9a5587ba06d3fc6a15cf2b0d6595e406.tar.bz2 |
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
-rw-r--r-- | src/xine-engine/osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)--; } |