Skip to content

Commit

Permalink
Notification: Avoid truncation when not wanted.
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkomandy committed Dec 18, 2014
1 parent 63a4690 commit 84e1c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/servers/notification/NotificationView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 84e1c7f

Please sign in to comment.