[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3f1c88d: * w32fns.c (get_wm_chars): Increment count
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] master 3f1c88d: * w32fns.c (get_wm_chars): Increment counter, not pointer. |
Date: |
Mon, 12 Oct 2015 04:59:49 +0000 |
branch: master
commit 3f1c88de2ec78fba14e2b28ce43939017b723083
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>
* w32fns.c (get_wm_chars): Increment counter, not pointer.
---
src/w32fns.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/w32fns.c b/src/w32fns.c
index 99fd3ba..9b0770a 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*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 3f1c88d: * w32fns.c (get_wm_chars): Increment counter, not pointer.,
Juanma Barranquero <=