summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-30 21:07:54 +0000
committerrubidium <rubidium@openttd.org>2009-09-30 21:07:54 +0000
commitc847f5c04e15920d6f4d9a80e181ffc63e61264a (patch)
tree9f80b07df68b2aa6c53c11a8be64e4cc4d690737 /src/network
parent00324050930287e25d9a616f12cdf1421c3445e7 (diff)
downloadopenttd-c847f5c04e15920d6f4d9a80e181ffc63e61264a.tar.xz
(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_chat_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index f4fa5d712..317b547c2 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -489,7 +489,7 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
default: NOT_REACHED();
case HEBR_EDITING: {
Window *osk = FindWindowById(WC_OSK, 0);
- if (osk != NULL && osk->parent == this) osk->OnInvalidateData();
+ if (osk != NULL && osk->parent == this) osk->InvalidateData();
} break;
case HEBR_CONFIRM:
SendChat(this->text.buf, this->dtype, this->dest);