Win32: fix Update_status_line()

This commit is contained in:
Thomas Bernard 2019-01-22 09:31:10 +01:00
parent 4a97785ce6
commit e268753438
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -547,8 +547,8 @@ void Flush_update(void)
void Update_status_line(short char_pos, short width)
{
Update_rect((18+char_pos*8)*Menu_factor_X*Pixel_width, Menu_status_Y*Pixel_height,
width*8*Menu_factor_X*Pixel_width, 8*Menu_factor_Y*Pixel_height);
Update_rect((18+char_pos*8)*Menu_factor_X, Menu_status_Y,
width*8*Menu_factor_X, 8*Menu_factor_Y);
}
int SetPalette(const T_Components * colors, int firstcolor, int ncolors)