diff options
author | belugas <belugas@openttd.org> | 2007-12-08 03:10:50 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-12-08 03:10:50 +0000 |
commit | 73c58d8a409d7e5f3dbb864be893a1c0b34defd6 (patch) | |
tree | 4035aa66fcd85e5b6485927f6941345900ada009 /src/network | |
parent | b23f824f1848186dd37ee7616a1df58b439b5315 (diff) | |
download | openttd-73c58d8a409d7e5f3dbb864be893a1c0b34defd6.tar.xz |
(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index de1ace134..eb9c04e4b 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -755,7 +755,7 @@ static void NetworkStartServerWindowWndProc(Window *w, WindowEvent *e) case NSSW_SPECTATORS_BTND: case NSSW_SPECTATORS_BTNU: // Click on up/down button for number of spectators /* Don't allow too fast scrolling */ if ((w->flags4 & WF_TIMEOUT_MASK) <= 2 << WF_TIMEOUT_SHL) { - HandleButtonClick(w, e->we.click.widget); + w->HandleButtonClick(e->we.click.widget); SetWindowDirty(w); switch (e->we.click.widget) { default: NOT_REACHED(); |