From cc09635b7169c550b842b8fc97c7b1c4d53ba2d2 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 27 Sep 2020 15:43:43 +0200 Subject: [PATCH] Calculate x posistion of PrintSBookStr --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index 01a5331ec..513ebb8ce 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -2405,7 +2405,7 @@ void PrintSBookStr(int x, int y, BOOL cjustflag, char *pszStr, char col) char *tmp; int screen_x, line, width; - width = PitchTbl[y] + x + RIGHT_PANEL + 120; + width = PitchTbl[y] + x + RIGHT_PANEL_X + SPLICONLENGTH; line = 0; if (cjustflag) { screen_x = 0;