From 0d7f87630be8edd72918215396cd0913988c19a2 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 20 Oct 2019 19:23:20 +0200 Subject: [PATCH] Remove width from info panel sy value This was left behind when doing 337bc9b125ec5449c54ee8b0780d1722c41afaac --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index 0a8c6b128..94e80fc09 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -1159,7 +1159,7 @@ void control_print_info_str(int y, char *str, BOOL center, int lines) lineOffset = 0; sx = 177 + SCREEN_X; - sy = lineOffsets[lines][y] + (SCREEN_WIDTH - PANEL_WIDTH) / 2 + SCREEN_Y; + sy = lineOffsets[lines][y] + SCREEN_Y; if (center == 1) { strWidth = 0; tmp = str;