From db210430a8f4c77edf0c65122cf87f7c461e85a3 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Sat, 26 Sep 2020 04:59:58 +0000 Subject: [PATCH] menu: Fix "Apply" in video settings being offset to an invisible button git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12943 d7cf8633-e32d-0410-b094-e92efae38249 --- menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.c b/menu.c index fcea8dc4..1a550298 100644 --- a/menu.c +++ b/menu.c @@ -2838,9 +2838,9 @@ video_resolution_t video_resolutions_hardcoded[] = // this is the number of the default mode (640x480) in the list above int video_resolutions_hardcoded_count = sizeof(video_resolutions_hardcoded) / sizeof(*video_resolutions_hardcoded) - 1; -#define VIDEO_ITEMS 11 +#define VIDEO_ITEMS 10 static int video_cursor = 0; -static int video_cursor_table[VIDEO_ITEMS] = {68, 88, 96, 104, 112, 120, 128, 136, 144, 152, 168}; +static int video_cursor_table[VIDEO_ITEMS] = {68, 88, 96, 104, 112, 120, 128, 136, 144, 152}; static int menu_video_resolution; video_resolution_t *video_resolutions; -- 2.39.2