From 2b0cc30f7c76afea04933f904d7c8e0195dd4942 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 26 Jul 2012 04:47:29 +0000 Subject: [PATCH] - Fixed: The label offset has no business being involved in the positioning of the options menu cursor. Also put the cursor towards the bottom of tall small fonts. SVN r3785 (trunk) --- src/menu/optionmenu.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/menu/optionmenu.cpp b/src/menu/optionmenu.cpp index 4c5b2ef62..6302ffa5b 100644 --- a/src/menu/optionmenu.cpp +++ b/src/menu/optionmenu.cpp @@ -58,8 +58,6 @@ void M_DrawConText (int color, int x, int y, const char *str) { - int len = (int)strlen(str); - screen->DrawText (ConFont, color, x, y, str, DTA_CellX, 8 * CleanXfac_1, DTA_CellY, 8 * CleanYfac_1, @@ -440,7 +438,7 @@ void DOptionMenu::Drawer () { if (((DMenu::MenuTime%8) < 6) || DMenu::CurrentMenu != this) { - M_DrawConText(OptionSettings.mFontColorSelection, cur_indent + 3 * CleanXfac_1, y-CleanYfac_1+OptionSettings.mLabelOffset, "\xd"); + M_DrawConText(OptionSettings.mFontColorSelection, cur_indent + 3 * CleanXfac_1, y+fontheight-9*CleanYfac_1, "\xd"); } } }