# HG changeset patch # User bjarni # Date 1159527299 0 # Node ID e30842de2c3881bb51f24e7a75cde33a2869c227 # Parent df9e24f813bf37f042a244f9ecfce0da9cf2c6f3 (svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot diff -r df9e24f813bf -r e30842de2c38 misc_gui.c --- a/misc_gui.c Fri Sep 29 09:44:32 2006 +0000 +++ b/misc_gui.c Fri Sep 29 10:54:59 2006 +0000 @@ -1876,7 +1876,7 @@ * @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 -r df9e24f813bf -r e30842de2c38 resize_window_widgets.h --- a/resize_window_widgets.h Fri Sep 29 09:44:32 2006 +0000 +++ b/resize_window_widgets.h Fri Sep 29 10:54:59 2006 +0000 @@ -26,6 +26,6 @@ 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