From: divverent Date: Wed, 10 Dec 2008 11:38:15 +0000 (+0000) Subject: correctly support [ and ] keys X-Git-Tag: svn-r421~282 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=75284d96b8ec8c8006d564e30e26c58dcb41c5ba;p=xonotic%2Fnetradiant.git correctly support [ and ] keys git-svn-id: svn://svn.icculus.org/netradiant/trunk@138 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/libs/gtkutil/accelerator.cpp b/libs/gtkutil/accelerator.cpp index af3eec17..0228a1be 100644 --- a/libs/gtkutil/accelerator.cpp +++ b/libs/gtkutil/accelerator.cpp @@ -88,8 +88,8 @@ SKeyInfo g_Keys[] = {"NumPad7", GDK_KP_7}, {"NumPad8", GDK_KP_8}, {"NumPad9", GDK_KP_9}, - {"[", 219}, - {"]", 221}, + {"[", GDK_bracketleft}, + {"]", GDK_bracketright}, {"\\", 220}, {"Home", GDK_Home} };