Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Tue, Oct 22, 2002 at 12:07:30AM +0200, Lars Gullik Bjønnes wrote:
>> 
>> ... but I do not like it...
>> 
>
| This looks suspicious:
>
| Index: src/frontends/qt2/QLPainter.C
| ===================================================================
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/QLPainter.C,v
| retrieving revision 1.14
| diff -u -p -r1.14 QLPainter.C
| --- src/frontends/qt2/QLPainter.C       20 Oct 2002 14:27:28 -0000
| 1.14
| +++ src/frontends/qt2/QLPainter.C       21 Oct 2002 22:06:07 -0000
| @@ -261,7 +261,8 @@ 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)
| +       ls = 1;
| +       if (str[0].unicode() >= 0x05b0 && str[0].unicode() <= 0x05c2)
|                 str = ' ' + str;
|  #else
|         for (size_t i = 0; i < ls; ++i)
>
>
| Could it be that 'ls == 1' was intended?

That is possible, but not what it said...
as coded my change is safe... but I never even considered '==' as an
option...

Dekel?

-- 
        Lgb

Reply via email to