summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-06-08 10:38:06 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-06-09 13:15:47 +0100
commit8652a4db76c978598918bfdb600a3453d794930a (patch)
tree2f767454702cdcdedd28b1335fff88c2ed416ab6 /src/news_gui.cpp
parentcaab095e4ea202ccbe09b4c3f2ea6e36070bef29 (diff)
downloadopenttd-8652a4db76c978598918bfdb600a3453d794930a.tar.xz
Cleanup: Give `SetDirtyBlocks` a more descriptive name.
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 01b69677e..9993645c4 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -571,7 +571,7 @@ private:
if (this->viewport != nullptr) this->viewport->top += newtop - this->top;
this->top = newtop;
- SetDirtyBlocks(this->left, mintop, this->left + this->width, maxtop + this->height);
+ AddDirtyBlock(this->left, mintop, this->left + this->width, maxtop + this->height);
}
StringID GetCompanyMessageString() const