summaryrefslogtreecommitdiff
path: root/font.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-05-19 10:20:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-05-19 10:20:16 +0200
commit1378f599c296c2cb1a587146cfa2007578d70766 (patch)
tree33b90b674421c1f803b901f7a0f1414276e68201 /font.c
parentc1ddc63fda4b2896eee72bacc1f935b1194b3800 (diff)
downloadvdr-1378f599c296c2cb1a587146cfa2007578d70766.tar.gz
vdr-1378f599c296c2cb1a587146cfa2007578d70766.tar.bz2
Fixed checking for UTF-8 support in cFont::Bidi()
Diffstat (limited to 'font.c')
-rw-r--r--font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/font.c b/font.c
index 706a017c..a19d2b4b 100644
--- a/font.c
+++ b/font.c
@@ -6,7 +6,7 @@
*
* BiDi support by Osama Alrawab <alrawab@hotmail.com> @2008 Tripoli-Libya.
*
- * $Id: font.c 2.10 2012/03/02 10:47:45 kls Exp $
+ * $Id: font.c 2.11 2012/05/19 10:15:18 kls Exp $
*/
#include "font.h"
@@ -508,7 +508,7 @@ cString cFont::GetFontFileName(const char *FontName)
#ifdef BIDI
cString cFont::Bidi(const char *Ltr)
{
- if (cCharSetConv::SystemCharacterTable()) { // bidi requires UTF-8
+ if (!cCharSetConv::SystemCharacterTable()) { // bidi requires UTF-8
fribidi_set_mirroring(true);
fribidi_set_reorder_nsm(false);
FriBidiCharSet fribidiCharset = FRIBIDI_CHAR_SET_UTF8;