summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-23 16:23:42 +0000
committerrubidium <rubidium@openttd.org>2009-11-23 16:23:42 +0000
commit2a2884646caa114774c068757d4dd01c32ec1e93 (patch)
tree05f2c4ef23686e901e46d9650fbb7b7a0ecdff13 /src/news_gui.cpp
parentfabd1b7c5024f4dce2b4af33678ade4d21d6223e (diff)
downloadopenttd-2a2884646caa114774c068757d4dd01c32ec1e93.tar.xz
(svn r18257) -Fix: glitch when the news message is wider than the status bar
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 57881358c..6a80cdec4 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: