]> git.lyx.org Git - lyx.git/blobdiff - src/Text.cpp
make index label translatable
[lyx.git] / src / Text.cpp
index 9fde15b3a2429dd00f17f65497d743693b14565f..6ca5d485dcbdedbb7d76f1d6df2ac7589c727cd0 100644 (file)
@@ -521,7 +521,7 @@ void Text::insertChar(Cursor & cur, char_type c)
                        // adjacent character whose direction is the paragraph's
                        // direction; don't touch other properties of the font
                        Language const * lang = 
-                               (pre_space_rtl == par.isRightToLeftPar(buffer.params())) ?
+                               (pre_space_rtl == par.isRTL(buffer.params())) ?
                                pre_space_font.language() : post_space_font.language();
 
                        Font space_font = tm.getDisplayFont(cur.pit(), cur.pos() - 1);