summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-03 17:35:08 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-03 17:35:08 +0000
commit92b63e38f0a43c6f1bbea8d507fd6617ecbb920e (patch)
treea8259257d2fec8e54da382e9da4625c42cfb0b9e /src/window_gui.h
parentb92c4cfc92f53259dd8f108d7cbb29a19bdc61d6 (diff)
downloadopenttd-92b63e38f0a43c6f1bbea8d507fd6617ecbb920e.tar.xz
(svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 7d0a1403c..b615778c2 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -573,7 +573,7 @@ void ScrollbarClickHandler(Window *w, const Widget *wi, int x, int y);
void ResizeButtons(Window *w, byte left, byte right);
-void ResizeWindowForWidget(Window *w, int widget, int delta_x, int delta_y);
+void ResizeWindowForWidget(Window *w, uint widget, int delta_x, int delta_y);
void SetVScrollCount(Window *w, int num);
void SetVScroll2Count(Window *w, int num);