(svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot
authorbjarni
Fri, 29 Sep 2006 10:54:59 +0000
changeset 4672 1ef34405eaf5
parent 4671 06ca1bcb7b9b
child 4673 a2cdac5529f7
(svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot
misc_gui.c
resize_window_widgets.h
--- 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;
 
--- 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