[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_4_BRANCH: kdelibs/kate/part
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2005-02-28 21:12:52
Message-ID: 20050228211252.3DDAC148A2 () office ! kde ! org
[Download RAW message or body]

CVS commit by cullmann: 

bugfix 98743
backport


  M +4 -0      katedocument.cpp   1.796.2.1


--- kdelibs/kate/part/katedocument.cpp  #1.796:1.796.2.1
@@ -3475,4 +3475,8 @@ void KateDocument::selectWord( const Kat
 
   KateTextLine::Ptr textLine = m_buffer->plainLine(cursor.line());
+
+  if (!textLine)
+    return;
+
   len = textLine->length();
   start = end = cursor.col();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic