From 2a2884646caa114774c068757d4dd01c32ec1e93 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 23 Nov 2009 16:23:42 +0000 Subject: [PATCH] (svn r18257) -Fix: glitch when the news message is wider than the status bar --- src/news_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 57881358c3..6a80cdec43 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -500,7 +500,7 @@ struct NewsWindow : Window { int diff = Delta(this->top, y); this->top = y; - SetDirtyBlocks(this->left, this->top - diff, this->left + this->width, this->top + this->height); + SetDirtyBlocks(this->left, this->top, this->left + this->width, this->top + this->height + diff); } private: