]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/gtkutil/accelerator.cpp
correctly support [ and ] keys
[xonotic/netradiant.git] / 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}
 };