From 84e1c7fa206838c406bbcd54e48bb95c96e25fc0 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Thu, 18 Dec 2014 15:10:44 +0100 Subject: [PATCH] Notification: Avoid truncation when not wanted. --- src/servers/notification/NotificationView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/notification/NotificationView.cpp b/src/servers/notification/NotificationView.cpp index bc81f69595..d607c3e682 100644 --- a/src/servers/notification/NotificationView.cpp +++ b/src/servers/notification/NotificationView.cpp @@ -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); }