Fix build with gcc2

Partial initializers are not supported. This is not needed anyway, the
variable will be in .bss so it will be cleared to 0 by default.
This commit is contained in:
Adrien Destugues 2018-01-24 19:51:33 +01:00
parent b2898ed7f1
commit 837773ea1d

View File

@ -158,7 +158,7 @@ word Count_used_colors_area(dword* usage, word start_x, word start_y,
// Get_current_palette() offers a READ-ONLY access.
// TODO : Color cycling code use directly SDL_SetPalette() we should check
// wether it should call Set_palette() instead.
static T_Palette Current_palette = {0};
static T_Palette Current_palette;
const T_Components * Get_current_palette(void)
{