diff options
| author | Juanma Barranquero | 2015-10-12 06:55:02 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2015-10-12 06:55:02 +0200 |
| commit | 3f1c88de2ec78fba14e2b28ce43939017b723083 (patch) | |
| tree | 0edaecafc4a6844761140ab3a1206b911ec4c848 /src | |
| parent | 644d31a2690ba512600a96a7db801d074b26f48d (diff) | |
| download | emacs-3f1c88de2ec78fba14e2b28ce43939017b723083.tar.gz emacs-3f1c88de2ec78fba14e2b28ce43939017b723083.zip | |
* w32fns.c (get_wm_chars): Increment counter, not pointer.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 2 |
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* |