]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a bug with LWindow key remapping on MS-Windows
authorIlya Zakharevich <ilya@math.berkeley.edu>
Mon, 17 Aug 2015 17:08:45 +0000 (20:08 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 17 Aug 2015 17:08:45 +0000 (20:08 +0300)
* src/w32fns.c (deliver_wm_chars): Fix a typo.  (Bug#21276)

src/w32fns.c

index 4532fb9f469b50dea4dbbc70fd5a856e6d819fc7..4b29e64bd5895111d2e704e83710a18e104b457e 100644 (file)
@@ -3131,7 +3131,7 @@ deliver_wm_chars (int do_translate, HWND hwnd, UINT msg, UINT wParam,
            }
          else if (wmsg.dwModifiers & (alt_modifier | meta_modifier)
                   || (console_modifiers
-                      & (RIGHT_WIN_PRESSED | RIGHT_WIN_PRESSED
+                      & (LEFT_WIN_PRESSED | RIGHT_WIN_PRESSED
                          | APPS_PRESSED | SCROLLLOCK_ON)))
            {
              /* Pure Alt (or combination of Alt, Win, APPS, scrolllock.  */