From 0608eed7c3b112833baa033c238d0159fb17729f Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Tue, 11 Apr 2017 08:57:16 +0200 Subject: [PATCH] Fix order of the video menu items. The internal order of the items is determined by Menu_AddItem() and not the y position. Without this change the cursor didn't jump from item to item, but from the mode list box to the aspect list box, skipping the brightness slider. --- src/client/menu/videomenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/menu/videomenu.c b/src/client/menu/videomenu.c index 2f7c64dd..f8ff21c4 100644 --- a/src/client/menu/videomenu.c +++ b/src/client/menu/videomenu.c @@ -556,9 +556,9 @@ VID_MenuInit(void) Menu_AddItem(&s_opengl_menu, (void *)&s_renderer_list); Menu_AddItem(&s_opengl_menu, (void *)&s_mode_list); + Menu_AddItem(&s_opengl_menu, (void *)&s_brightness_slider); Menu_AddItem(&s_opengl_menu, (void *)&s_aspect_list); Menu_AddItem(&s_opengl_menu, (void *)&s_uiscale_list); - Menu_AddItem(&s_opengl_menu, (void *)&s_brightness_slider); Menu_AddItem(&s_opengl_menu, (void *)&s_fs_box); Menu_AddItem(&s_opengl_menu, (void *)&s_vsync_list); Menu_AddItem(&s_opengl_menu, (void *)&s_af_list);