diff options
author | rubidium <rubidium@openttd.org> | 2009-11-23 16:23:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-23 16:23:42 +0000 |
commit | 2a2884646caa114774c068757d4dd01c32ec1e93 (patch) | |
tree | 05f2c4ef23686e901e46d9650fbb7b7a0ecdff13 | |
parent | fabd1b7c5024f4dce2b4af33678ade4d21d6223e (diff) | |
download | openttd-2a2884646caa114774c068757d4dd01c32ec1e93.tar.xz |
(svn r18257) -Fix: glitch when the news message is wider than the status bar
-rw-r--r-- | src/news_gui.cpp | 2 |
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: |