changeset 30 | 5dc02b23752f |
parent 18 | 2f34d5167611 |
--- a/src/qt3support/text/q3textedit.cpp Wed Jun 23 19:07:03 2010 +0300 +++ b/src/qt3support/text/q3textedit.cpp Tue Jul 06 15:10:48 2010 +0300 @@ -6238,7 +6238,7 @@ } else { tmp = tagStack.isEmpty() ? 0 : tagStack.pop(); if (!tmp) { - if (((QLatin1Char('/') + cur->tag) == tag->tag) || + if ((QString(QLatin1Char('/') + cur->tag) == tag->tag) || (tag->tag == QLatin1String("/font") && cur->tag.left(4) == QLatin1String("font"))) { // set up the left and parent of this tag tag->leftTag = cur;