Workaround for bug in MapVirtualKey(VK_DIVIDE, 0) in some Windows

2005-02-23  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
	MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
This commit is contained in:
Tor Lillqvist
2005-02-23 22:06:38 +00:00
committed by Tor Lillqvist
parent 79f9f13355
commit 2fd6edba8d
4 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2005-02-23 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
Tue Feb 22 13:49:09 2005 Manish Singh <yosh@gimp.org>
* gtk/updateiconcache.c: #include <config.h>

View File

@@ -1,3 +1,8 @@
2005-02-23 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
Tue Feb 22 13:49:09 2005 Manish Singh <yosh@gimp.org>
* gtk/updateiconcache.c: #include <config.h>

View File

@@ -1,3 +1,8 @@
2005-02-23 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
Tue Feb 22 13:49:09 2005 Manish Singh <yosh@gimp.org>
* gtk/updateiconcache.c: #include <config.h>

View File

@@ -347,7 +347,8 @@ update_keymap (void)
for (vk = 0; vk < 256; vk++)
{
if ((scancode = MapVirtualKey (vk, 0)) == 0)
if ((scancode = MapVirtualKey (vk, 0)) == 0 &&
vk != VK_DIVIDE)
keysym_tab[vk*4+0] =
keysym_tab[vk*4+1] =
keysym_tab[vk*4+2] =