Summary: | Zoom in with antialiased fonts and a note displayed in classdiagram crashes | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Klas Kalass <klas.kalass> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Klas Kalass
2003-03-20 00:18:23 UTC
I forgot to say: Current head, but also happens with the test build from 14.03 which was prior to my changes... Subject: kdesdk/umbrello/umbrello CVS commit by kalass: CCMAIL: 56166-done@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 |