tiny change

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2498 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-08-13 12:47:33 +00:00
parent 9f3dd22dd3
commit 094ce1115b
2 changed files with 6 additions and 1 deletions

View 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

View 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];