[Uml-devel] [Bug 56166] Zoom in with antialiased fonts and a note displayed in classdiagram crashes

Klas Kalass klas.kalass at gmx.de
Sat Mar 22 05:28:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=56166     
klas.kalass at gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From klas.kalass at gmx.de  2003-03-22 14:25 -------
Subject: kdesdk/umbrello/umbrello

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