[gtk+] immodule: Stop gcc from complaining



commit 1d980192fa16fc4585151239c18afc1c988da397
Author: Benjamin Otte <otte gnome org>
Date:   Sat Feb 6 03:38:37 2016 +0100

    immodule: Stop gcc from complaining

 gtk/gtkimmodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 97021da..065d5ba 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -899,7 +899,7 @@ get_current_input_language (void)
   /* Current thread's keyboard layout */
   kblayout = GetKeyboardLayout(0);
   /* lowest word in the HKL is the LANGID */
-  langid = ((guint32)kblayout) & 0xFFFF;
+  langid = LOWORD (kblayout);
   /* LCID is the LANGID without order */
   lcid = langid;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]