CVS commit by staikos: initialise your variables (valgrind found this) CCMAIL: l.savernik@aon.at M +2 -2 render_text.cpp 1.220 --- kdelibs/khtml/rendering/render_text.cpp #1.219:1.220 @@ -849,5 +849,5 @@ void RenderText::paintObject( QPainter * // Now calculate startPos and endPos, for painting selection. // We paint selection while endPos > 0 - int endPos, startPos; + int endPos = 0, startPos = 0; if (!isPrinting && (selectionState() != SelectionNone)) { if (selectionState() == SelectionInside) {