From: cloudwalk Date: Sat, 26 Sep 2020 04:59:58 +0000 (+0000) Subject: menu: Fix "Apply" in video settings being offset to an invisible button X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=db210430a8f4c77edf0c65122cf87f7c461e85a3;p=xonotic%2Fdarkplaces.git 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 --- 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;