aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2015-10-12 06:55:02 +0200
committerJuanma Barranquero2015-10-12 06:55:02 +0200
commit3f1c88de2ec78fba14e2b28ce43939017b723083 (patch)
tree0edaecafc4a6844761140ab3a1206b911ec4c848 /src
parent644d31a2690ba512600a96a7db801d074b26f48d (diff)
downloademacs-3f1c88de2ec78fba14e2b28ce43939017b723083.tar.gz
emacs-3f1c88de2ec78fba14e2b28ce43939017b723083.zip
* w32fns.c (get_wm_chars): Increment counter, not pointer.
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 99fd3ba33fd..9b0770a99e8 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -2917,7 +2917,7 @@ get_wm_chars (HWND aWnd, int *buf, int buflen, int ignore_ctrl, int ctrl,
2917 /* Non-character payload in a WM_CHAR 2917 /* Non-character payload in a WM_CHAR
2918 (Ctrl-something pressed, see above). Ignore, and report. */ 2918 (Ctrl-something pressed, see above). Ignore, and report. */
2919 if (ctrl_cnt) 2919 if (ctrl_cnt)
2920 *ctrl_cnt++; 2920 (*ctrl_cnt)++;
2921 continue; 2921 continue;
2922 } 2922 }
2923 /* Traditionally, Emacs would ignore the character payload of VK_NUMPAD* 2923 /* Traditionally, Emacs would ignore the character payload of VK_NUMPAD*