summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Wilke <vdr@joachim-wilke.de>2010-01-06 16:31:02 +0100
committerJoachim Wilke <vdr@joachim-wilke.de>2010-01-06 16:31:02 +0100
commit9373f475d568cefa8604da07cfe8e96466dd64f8 (patch)
treefacd58f10d8cfc8d8b34de40fe1c2ecda92d5edc
parent0618ae5ef1281d5ec20ecb699debe357b7b8d92b (diff)
downloadvdr-plugin-lcdproc-9373f475d568cefa8604da07cfe8e96466dd64f8.tar.gz
vdr-plugin-lcdproc-9373f475d568cefa8604da07cfe8e96466dd64f8.tar.bz2
Adapted to changes in VDR 1.7.11 regarding character set conversion.
-rw-r--r--lcd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lcd.c b/lcd.c
index f371a31..af618bd 100644
--- a/lcd.c
+++ b/lcd.c
@@ -52,11 +52,11 @@ cLcd::cLcd() {
for (i=0;i<LCDMAXCARDS;i++) ThreadStateData.CardStat[i]=0;
channelSwitched = false;
SummaryText = NULL;
-//#if VDRVERSNUM < 10701
+#if VDRVERSNUM < 10711
conv = new cCharSetConv(cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "UTF-8", "ISO-8859-1");
-//#else
-// conv = new cCharSetConv(NULL, "ISO-8859-1");
-//#endif
+#else
+ conv = new cCharSetConv(NULL, "ISO-8859-1");
+#endif
}
cLcd::~cLcd() {