From 3f1c88de2ec78fba14e2b28ce43939017b723083 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 12 Oct 2015 06:55:02 +0200 Subject: [PATCH] * w32fns.c (get_wm_chars): Increment counter, not pointer. --- src/w32fns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, /* Non-character payload in a WM_CHAR (Ctrl-something pressed, see above). Ignore, and report. */ if (ctrl_cnt) - *ctrl_cnt++; + (*ctrl_cnt)++; continue; } /* Traditionally, Emacs would ignore the character payload of VK_NUMPAD* -- 2.39.2