[Uml-devel] kdesdk/umbrello/umbrello

Klas Kalass klas.kalass at gmx.de
Sat Mar 22 05:26:02 UTC 2003


CVS commit by kalass: 

CCMAIL: 56166-done at bugs.kde.org

ouch - do not try to display the 0-termination of a string.


  M +1 -1      notewidget.cpp   1.4


--- kdesdk/umbrello/umbrello/notewidget.cpp  #1.3:1.4
@@ -210,5 +210,5 @@ void NoteWidget::drawText(QPainter & p, 
                         word = "";
                 } else {
-                        word += c;
+                        if (c!='\0') word += c;
                 }
         }//end while






More information about the umbrello-devel mailing list