]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Meh, stupid bug in cl_gecko. Sorry about that :-(
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Dec 2007 00:04:37 +0000 (00:04 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Dec 2007 00:04:37 +0000 (00:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7783 d7cf8633-e32d-0410-b094-e92efae38249

cl_gecko.c

index 3d200dc056be3825a568958b957cc05fcc0559c0..2289021185bc901d06c03c92dc149d607766c9c6 100644 (file)
@@ -396,12 +396,13 @@ qboolean CL_Gecko_Event_Key( clgecko_t *instance, int key, clgecko_buttoneventty
                        break;\r
                case CLG_BET_PRESS:\r
                        // hihi, hacky hacky\r
-                       osgk_browser_event_key( instance->browser, mappedkey, meDown );\r
+                       osgk_browser_event_mouse_button( instance->browser, mappedbutton, meDown );\r
                        mappedtype = meUp;\r
                        break;\r
                }\r
 \r
-               return osgk_browser_event_key( instance->browser, mappedkey, mappedtype ) != 0;\r
+               osgk_browser_event_mouse_button( instance->browser, mappedbutton, mappedtype );\r
+               return true;\r
        }\r
        // TODO: error?\r
        return false;\r