From 54a673f10f8be8f901cff451f84b178262279c8e Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 25 Oct 2009 14:36:49 +0000 Subject: [PATCH] Fixed some warnings spotted by vbcc on amiga. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1092 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- windows.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows.c b/windows.c index 52b3b1a9..43c87e01 100644 --- a/windows.c +++ b/windows.c @@ -23,6 +23,7 @@ */ #include +#include // atoi() #include // strncpy() strlen() #include "windows.h" @@ -1163,7 +1164,7 @@ void Display_menu_palette_avoiding_window(byte * table) if (table[real_color]!=real_color) { start_x=Palette_cell_X(real_color); - start_y=Palette_cell_Y(real_color); //Menu_Y_before_window ??! + start_y=Palette_cell_Y(real_color); end_x=start_x+width; end_y=start_y+height;