Notification: Avoid truncation when not wanted.

This commit is contained in:
Adrien Destugues
2014-12-18 15:10:44 +01:00
parent 63a4690e72
commit 84e1c7fa20
@@ -280,7 +280,7 @@ NotificationView::Draw(BRect updateRect)
// Truncate the string. We have already line-wrapped the text but if
// there is a very long 'word' we can only truncate it.
TruncateString(&(l->text), B_TRUNCATE_END,
Bounds().Width() - l->location.x - 8);
Bounds().Width() - l->location.x);
DrawString(l->text.String(), l->text.Length(), l->location);
}