summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-29 10:54:59 +0000
committerbjarni <bjarni@openttd.org>2006-09-29 10:54:59 +0000
commitf5d61a1c6fbec5a01e54d78636cd205e295cdd0b (patch)
tree0f4c4fb575db68aa239f02e8d9817677c3e9f496
parentc07f8f8777bd689ff88633b5c73b468c8efab75d (diff)
downloadopenttd-f5d61a1c6fbec5a01e54d78636cd205e295cdd0b.tar.xz
(svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot
-rw-r--r--misc_gui.c2
-rw-r--r--resize_window_widgets.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 315bab533..10f53f701 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -1876,7 +1876,7 @@ void ShowCheatWindow(void)
* @param horizontal Tells how far to the right the widgets should be moved (note: negative moves left)
* @param vertical Tells how far down the widgets should be moved (note: negative moves up)
*/
-void ResizeWindowWidgets(Window *w, const byte *resizearray, byte length, byte horizontal, byte vertical)
+void ResizeWindowWidgets(Window *w, const byte *resizearray, int16 length, byte horizontal, int16 vertical)
{
byte i;
diff --git a/resize_window_widgets.h b/resize_window_widgets.h
index a593e45b0..047d0d45b 100644
--- a/resize_window_widgets.h
+++ b/resize_window_widgets.h
@@ -26,6 +26,6 @@ enum {
WIDGET_MOVE_DOWN_STRETCH_RIGHT = WIDGET_MOVE_DOWN | WIDGET_STRETCH_RIGHT,
};
-void ResizeWindowWidgets(Window *w, const byte *resizearray, byte length, byte horizontal, byte vertical);
+void ResizeWindowWidgets(Window *w, const byte *resizearray, int16 length, byte horizontal, int16 vertical);
#endif