From d17ae4f0e37e3e2fe081750427ca6fd38f6aa7a0 Mon Sep 17 00:00:00 2001 From: skeezix Date: Wed, 2 Feb 2011 15:29:42 -0500 Subject: [PATCH] mmenu; don't permit 'NoParentCategry' or Other as assignable prime categories; sped up key-repeat by just a touch --- minimenu/mmui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minimenu/mmui.c b/minimenu/mmui.c index 9da954d..02f9d32 100644 --- a/minimenu/mmui.c +++ b/minimenu/mmui.c @@ -153,7 +153,7 @@ unsigned char ui_setup ( void ) { #endif // key repeat - SDL_EnableKeyRepeat ( 500, 150 ); + SDL_EnableKeyRepeat ( 500, 125 /* 150 */ ); // images //IMG_Init ( IMG_INIT_JPG | IMG_INIT_PNG ); @@ -3378,7 +3378,7 @@ void ui_menu_context ( mm_appref_t *a ) { unsigned char optmax = 0; unsigned char i; - i = 0; + i = 2; // skip first two - Other and NoParentCategory while ( 1 ) { if ( ! freedesktop_complete [ i ].cat ) { -- 2.39.5