Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185446 | Differences between
and this patch

Collapse All | Expand All

(-)src/widgets/qtextedit.cpp (-2 / +2 lines)
Lines 6349-6355 Link Here
6349
		    cur = tag->prev;
6349
		    cur = tag->prev;
6350
		    if ( !cur ) {
6350
		    if ( !cur ) {
6351
#ifdef QT_CHECK_RANGE
6351
#ifdef QT_CHECK_RANGE
6352
			qWarning( "QTextEdit::optimParseTags: no left-tag for '<" + tag->tag + ">' in line %d.", tag->line + 1 );
6352
			qWarning( "QTextEdit::optimParseTags: no left-tag for '<%s>' in line %d.", tag->tag.ascii(), tag->line + 1 );
6353
#endif
6353
#endif
6354
			return; // something is wrong - give up
6354
			return; // something is wrong - give up
6355
		    }
6355
		    }
Lines 6372-6378 Link Here
6372
				    break;
6372
				    break;
6373
				} else if ( !cur->leftTag ) {
6373
				} else if ( !cur->leftTag ) {
6374
#ifdef QT_CHECK_RANGE
6374
#ifdef QT_CHECK_RANGE
6375
				    qWarning( "QTextEdit::optimParseTags: mismatching %s-tag for '<" + cur->tag + ">' in line %d.", cur->tag[0] == '/' ? "left" : "right", cur->line + 1 );
6375
				    qWarning( "QTextEdit::optimParseTags: mismatching %s-tag for '<%s>' in line %d.", cur->tag[0] == '/' ? "left" : "right", cur->tag.ascii(), cur->line + 1 );
6376
#endif
6376
#endif
6377
				    return; // something is amiss - give up
6377
				    return; // something is amiss - give up
6378
				}
6378
				}

Return to bug 185446