From kde-commits Sat Oct 07 12:29:41 2006 From: Dominik Haumann Date: Sat, 07 Oct 2006 12:29:41 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/kate/part Message-Id: <1160224181.328215.3282.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116022418923427 SVN commit 593300 by dhaumann: fix crash that makes katepart pretty unusable. Please retag for KDE 3.5.5 - thanks & sorry for the hassle. BUG: 135045 M +1 -1 katerenderer.cpp --- branches/KDE/3.5/kdelibs/kate/part/katerenderer.cpp #593299:593300 @@ -763,7 +763,7 @@ x += width; - if (unicode[z] == QChar('\t')) + if (z < len && unicode[z] == QChar('\t')) x -= x % width; }