From d690ab6b7df060eb336a4408c4fd3de2852052cf Mon Sep 17 00:00:00 2001 From: black Date: Mon, 10 Dec 2007 00:04:37 +0000 Subject: [PATCH] Meh, stupid bug in cl_gecko. Sorry about that :-( git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7783 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_gecko.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cl_gecko.c b/cl_gecko.c index 3d200dc0..22890211 100644 --- a/cl_gecko.c +++ b/cl_gecko.c @@ -396,12 +396,13 @@ qboolean CL_Gecko_Event_Key( clgecko_t *instance, int key, clgecko_buttoneventty break; case CLG_BET_PRESS: // hihi, hacky hacky - osgk_browser_event_key( instance->browser, mappedkey, meDown ); + osgk_browser_event_mouse_button( instance->browser, mappedbutton, meDown ); mappedtype = meUp; break; } - return osgk_browser_event_key( instance->browser, mappedkey, mappedtype ) != 0; + osgk_browser_event_mouse_button( instance->browser, mappedbutton, mappedtype ); + return true; } // TODO: error? return false; -- 2.39.2