]> git.lyx.org Git - features.git/commitdiff
tiny change
authorDekel Tsur <dekelts@tau.ac.il>
Mon, 13 Aug 2001 12:47:33 +0000 (12:47 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Mon, 13 Aug 2001 12:47:33 +0000 (12:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2498 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/encoding.C

index 7538ed4050d3969540447b3ac99f560a0fadaadc..5d85b13d833e27b112c31b7defc4c128880405f9 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
+       lyxrc.font_norm.
+
 2001-08-13  Juergen Vigna  <jug@sad.it>
 
        * lyxfind.C (LyXReplace): fixed not single-replacing characters with
index bf4c4eb082d9994de7729811fed0cbd2b36684f9..118b6a6a84dcadcb81812d65d0cfab4f5b0e0882 100644 (file)
@@ -266,7 +266,7 @@ unsigned char Encodings::TransformChar(unsigned char c,
        if (!is_arabic(c))
                return c;
 
-       if (lyxrc.font_norm == "iso10646-1")
+       if (lyxrc.font_norm_type == LyXRC::ISO_10646_1)
                return arabic_table2[c-arabic_start][form];
        else
                return arabic_table[c-arabic_start][form >> 1];