[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:31:01 UTC 2003

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
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

The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA.  Privileged/Confidential Information may
be contained in this message.  If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.  In such case, you should destroy this
message and kindly notify the sender by reply email.  Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind.  Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.

More information about the umbrello-devel mailing list