]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
correctly support [ and ] keys
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 10 Dec 2008 11:38:15 +0000 (11:38 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 10 Dec 2008 11:38:15 +0000 (11:38 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@138 61c419a2-8eb2-4b30-bcec-8cead039b335

libs/gtkutil/accelerator.cpp

index af3eec1719a4e87fffe6b9907e0c8fe5a62bbdca..0228a1beae2f13c97ef53f11722b388e7b8f407a 100644 (file)
@@ -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}
 };