From: Holger Schemel Date: Sun, 13 Dec 2020 11:59:47 +0000 (+0100) Subject: fixed setup option position when using narrow font X-Git-Tag: 4.2.1.0~61 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=dec45cbc9f59f4b109b78d9df8b6376538e67113;p=rocksndiamonds.git fixed setup option position when using narrow font --- diff --git a/src/screens.c b/src/screens.c index d9909a2d..29f4e537 100644 --- a/src/screens.c +++ b/src/screens.c @@ -6761,6 +6761,10 @@ static void drawSetupValue(int screen_pos, int setup_info_pos_raw) if (startx + font_xoffset < text_startx + text_width + text_font_xoffset) { + // when using narrow font, left-shifting text "auto" not needed + if (type & TYPE_YES_NO_AUTO) + xpos += 1; + xpos += 1; startx = mSX + xpos * 32;