diff options
Diffstat (limited to 'multimedia/kaffeine/files/patch-dvbsection.cpp')
-rw-r--r-- | multimedia/kaffeine/files/patch-dvbsection.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/kaffeine/files/patch-dvbsection.cpp b/multimedia/kaffeine/files/patch-dvbsection.cpp index b3c9b6cec5fd..386e14e359ab 100644 --- a/multimedia/kaffeine/files/patch-dvbsection.cpp +++ b/multimedia/kaffeine/files/patch-dvbsection.cpp @@ -1,6 +1,6 @@ --- kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp.orig 2008-01-30 22:22:36.000000000 +0100 +++ kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp 2008-01-30 22:26:23.000000000 +0100 -@@ -134,7 +134,8 @@ +@@ -134,13 +134,14 @@ bool KaffeineDVBsection::doIconv( QCString &s, QCString table, char *buffer, int buflen ) { size_t inSize, outSize=buflen; @@ -10,6 +10,13 @@ iconv_t cd; inSize = s.length(); + if ( inSize<1 ) + return false; +- cd = iconv_open( "UTF8", table ); ++ cd = iconv_open( "UTF-8", table ); + inBuf = s.data(); + outBuf = buffer; + outBuf[0] = 0; @@ -230,7 +231,8 @@ char c[4]; QString s; |