Fixed some warnings spotted by vbcc on amiga.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1092 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2009-10-25 14:36:49 +00:00
parent 42ac69177f
commit 54a673f10f

View File

@ -23,6 +23,7 @@
*/
#include <math.h>
#include <stdlib.h> // atoi()
#include <string.h> // 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;