From 73718478c938b28bab524281257e4bf8ff743ab5 Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 2 Jan 2024 20:24:56 -0800 Subject: [PATCH] Menus: only adjust text box size for menu options - Fixes this applying to FOCUS LOST etc where it may be not use menu font. partially revert 700df854dc --- src/k_menudraw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k_menudraw.c b/src/k_menudraw.c index 55074227f..a62fe6b0b 100644 --- a/src/k_menudraw.c +++ b/src/k_menudraw.c @@ -1364,7 +1364,7 @@ void M_DrawHorizontalMenu(void) void M_DrawTextBox(INT32 x, INT32 y, INT32 width, INT32 boxlines) { // Solid color textbox. - V_DrawFill(x+5, y+5, width*7+6, boxlines*9+6, 159); + V_DrawFill(x+5, y+5, width*8+6, boxlines*8+6, 159); //V_DrawFill(x+8, y+8, width*8, boxlines*8, 31); } @@ -4407,7 +4407,7 @@ box_found: if (opening) y += LINEHEIGHT; else - M_DrawTextBox(x, y, MAXSTRINGLENGTH, 1); + V_DrawFill(x+5, y+5, MAXSTRINGLENGTH*7+6, 9+6, 159); } if (opening)