From 31ca3969898210bba620bc3be726b6d4fe45a2dc Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Sat, 19 Oct 2013 10:47:14 +0200 Subject: [PATCH] Correct names for PageUp/Down on Windows --- ogl_editor/src/windows/RocketWindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ogl_editor/src/windows/RocketWindow.c b/ogl_editor/src/windows/RocketWindow.c index 3a15412..244fe24 100644 --- a/ogl_editor/src/windows/RocketWindow.c +++ b/ogl_editor/src/windows/RocketWindow.c @@ -270,8 +270,8 @@ static void addAccelarator(const MenuDescriptor* desc) case EMGUI_KEY_BACKSPACE: accel->key = VK_BACK; break; case EMGUI_KEY_ENTER: accel->key = VK_RETURN; break; case EMGUI_KEY_SPACE: accel->key = VK_SPACE; break; - case EMGUI_KEY_PAGE_DOWN: accel->key = VK_PAGE_DOWN; break; - case EMGUI_KEY_PAGE_UP: accel->key = VK_PAGE_UP; break; + case EMGUI_KEY_PAGE_DOWN: accel->key = VK_NEXT; break; + case EMGUI_KEY_PAGE_UP: accel->key = VK_PRIOR; break; } }