git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5468 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-10-22 12:55:50 +00:00
parent 649e3fee9a
commit 3a99c85d60

View File

@ -261,7 +261,7 @@ Painter & QLPainter::text(int x, int y,
for (size_t i = 0; i < ls; ++i)
str[i] = QChar(encoding->ucs(s[i]));
// HACK: QT3 refuses to show single compose characters
if (ls = 1 && str[0].unicode() >= 0x05b0 && str[0].unicode() <= 0x05c2)
if (ls == 1 && str[0].unicode() >= 0x05b0 && str[0].unicode() <= 0x05c2)
str = ' ' + str;
#else
for (size_t i = 0; i < ls; ++i)