From f5d61a1c6fbec5a01e54d78636cd205e295cdd0b Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 29 Sep 2006 10:54:59 +0000 Subject: [PATCH] (svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot --- misc_gui.c | 2 +- resize_window_widgets.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc_gui.c b/misc_gui.c index 315bab533f..10f53f7017 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 a593e45b0a..047d0d45b5 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