[gtk+] immodule: Stop gcc from complaining
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] immodule: Stop gcc from complaining
- Date: Thu, 11 Feb 2016 02:45:22 +0000 (UTC)
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]