From 559085a6141c3c2814392de917d965f3cfd844e3 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 18 Dec 2018 00:11:54 +0100 Subject: [PATCH] X11: fix Update_status_line() it calls Update_rect() which already multiply by Pixel_width Pixel_height --- src/x11screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11screen.c b/src/x11screen.c index b2227e1a..2dc3e8e3 100644 --- a/src/x11screen.c +++ b/src/x11screen.c @@ -304,8 +304,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); } void Clear_border(byte color)