Cosmetic changes.

2007-07-24  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.


svn path=/trunk/; revision=18538
This commit is contained in:
Tor Lillqvist 2007-07-24 14:40:21 +00:00 committed by Tor Lillqvist
parent 0d74bbdbc0
commit 441f048426
2 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2007-07-24 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.
2007-07-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler):

View File

@ -384,22 +384,17 @@ update_keymap (void)
wchar_t wcs[10];
gint k;
wcs[0] = wcs[1] = 0;
k = ToUnicodeEx (vk, scancode, key_state,
wcs, G_N_ELEMENTS (wcs),
0, _gdk_input_locale);
#if 0
g_print ("ToUnicodeEx(%02x, %d: %d): %d, %04x %04x\n",
g_print ("ToUnicodeEx(%#02x, %d: %d): %d, %04x %04x\n",
vk, scancode, shift, k,
(k != 0 ? wcs[0] : 0),
(k >= 2 ? wcs[1] : 0));
wcs[0], wcs[1]);
#endif
if (k == 1)
*ksymp = gdk_unicode_to_keyval (wcs[0]);
if (k == 1)
{
/* Keysym already stored above */
}
else if (k == -1)
{
guint keysym = gdk_unicode_to_keyval (wcs[0]);