From fd2bf27771ce6cd798c05982609c72ad8571d711 Mon Sep 17 00:00:00 2001 From: stevenaaus Date: Sat, 14 Aug 2010 03:42:52 +0000 Subject: [PATCH] Swap left and right arrow keys in the videomode menu. (Right arrow now increases resolution, which is more standard) git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@267 af15c1b1-3010-417e-b628-4374ebc0bcbd --- quakespasm/Quake/gl_vidnt.c | 12 ++++++------ quakespasm/Quake/gl_vidsdl.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/quakespasm/Quake/gl_vidnt.c b/quakespasm/Quake/gl_vidnt.c index 5ceb94e4..53ecf258 100644 --- a/quakespasm/Quake/gl_vidnt.c +++ b/quakespasm/Quake/gl_vidnt.c @@ -2687,13 +2687,13 @@ void VID_MenuKey (int key) switch (video_options_cursor) { case 0: - VID_Menu_ChooseNextMode (-1); + VID_Menu_ChooseNextMode (1); break; case 1: - VID_Menu_ChooseNextBpp (-1); + VID_Menu_ChooseNextBpp (1); break; case 2: - VID_Menu_ChooseNextRate (-1); + VID_Menu_ChooseNextRate (1); break; case 3: Cbuf_AddText ("toggle vid_fullscreen\n"); @@ -2710,13 +2710,13 @@ void VID_MenuKey (int key) switch (video_options_cursor) { case 0: - VID_Menu_ChooseNextMode (1); + VID_Menu_ChooseNextMode (-1); break; case 1: - VID_Menu_ChooseNextBpp (1); + VID_Menu_ChooseNextBpp (-1); break; case 2: - VID_Menu_ChooseNextRate (1); + VID_Menu_ChooseNextRate (-1); break; case 3: Cbuf_AddText ("toggle vid_fullscreen\n"); diff --git a/quakespasm/Quake/gl_vidsdl.c b/quakespasm/Quake/gl_vidsdl.c index 076a60e5..83a2afe5 100644 --- a/quakespasm/Quake/gl_vidsdl.c +++ b/quakespasm/Quake/gl_vidsdl.c @@ -1717,13 +1717,13 @@ void VID_MenuKey (int key) switch (video_options_cursor) { case 0: - VID_Menu_ChooseNextMode (-1); + VID_Menu_ChooseNextMode (1); break; case 1: - VID_Menu_ChooseNextBpp (-1); + VID_Menu_ChooseNextBpp (1); break; case 2: - VID_Menu_ChooseNextRate (-1); + VID_Menu_ChooseNextRate (1); break; case 3: Cbuf_AddText ("toggle vid_fullscreen\n"); @@ -1743,13 +1743,13 @@ void VID_MenuKey (int key) switch (video_options_cursor) { case 0: - VID_Menu_ChooseNextMode (1); + VID_Menu_ChooseNextMode (-1); break; case 1: - VID_Menu_ChooseNextBpp (1); + VID_Menu_ChooseNextBpp (-1); break; case 2: - VID_Menu_ChooseNextRate (1); + VID_Menu_ChooseNextRate (-1); break; case 3: Cbuf_AddText ("toggle vid_fullscreen\n");