summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-12-07 18:05:49 +0000
committerglx <glx@openttd.org>2007-12-07 18:05:49 +0000
commitc21f588a14f30fed3d683b4686975670adaf7ed5 (patch)
treed911871e265f9cc64abdaac46967f9c90de70315 /src/news_gui.cpp
parent98bd772119d0b603a53b31a875b5a2bc7e9108f7 (diff)
downloadopenttd-c21f588a14f30fed3d683b4686975670adaf7ed5.tar.xz
(svn r11588) -Codechange: use the new member introduced in r11551
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 2bf4c5acd..859786c12 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -860,7 +860,7 @@ static void MessageOptionsWndProc(Window *w, WindowEvent *e)
case WIDGET_NEWSOPT_SOUNDTICKER: // Change ticker sound on/off
_news_ticker_sound ^= 1;
w->ToggleWidgetLoweredState(e->we.click.widget);
- InvalidateWidget(w, e->we.click.widget);
+ w->InvalidateWidget(e->we.click.widget);
break;
default: { // Clicked on the [<] .. [>] widgets