diff options
author | frosch <frosch@openttd.org> | 2009-09-13 19:15:59 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-09-13 19:15:59 +0000 |
commit | ebd916be3def20902cf19ffd16555074728eb9c3 (patch) | |
tree | c7748d7612a61b9558ffd10ffb176e34584f2376 /src/signs_gui.cpp | |
parent | 5de9cc46b50b8e677395543c10b26b59c860212b (diff) | |
download | openttd-ebd916be3def20902cf19ffd16555074728eb9c3.tar.xz |
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r-- | src/signs_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp index 830cc6e17..798568f14 100644 --- a/src/signs_gui.cpp +++ b/src/signs_gui.cpp @@ -176,7 +176,7 @@ struct SignListWindow : Window, SignList { if (data == 0) { // New or deleted sign. this->signs.ForceRebuild(); this->BuildSignsList(); - this->InvalidateWidget(SLW_CAPTION); + this->SetWidgetDirty(SLW_CAPTION); this->vscroll.SetCount(this->signs.Length()); } else { // Change of sign contents. this->signs.ForceResort(); @@ -272,7 +272,7 @@ struct SignWindow : QueryStringBaseWindow, SignList { this->cur_sign = si->index; InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, MAX_LENGTH_SIGN_NAME_PIXELS); - this->InvalidateWidget(QUERY_EDIT_SIGN_WIDGET_TEXT); + this->SetWidgetDirty(QUERY_EDIT_SIGN_WIDGET_TEXT); this->SetFocusedWidget(QUERY_EDIT_SIGN_WIDGET_TEXT); } |