Mercurial > vim
diff src/gui_motif.c @ 2215:cccb71c2c5c1 vim73
Fix uninit memory read in undo code. Fix uint32_t in proto file.
A few minor changes.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 24 May 2010 11:59:29 +0200 |
parents | dabcabce3f9d |
children | 6768ebd0bc04 |
line wrap: on
line diff
--- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -2023,7 +2023,7 @@ do_mnemonic(Widget w, unsigned int keyco XmProcessTraversal(w, XmTRAVERSE_CURRENT); - memset((char *) &keyEvent, 0, sizeof(XKeyPressedEvent)); + vim_memset((char *) &keyEvent, 0, sizeof(XKeyPressedEvent)); keyEvent.type = KeyPress; keyEvent.serial = 1; keyEvent.send_event = True;