summaryrefslogtreecommitdiff
path: root/src/gui_motif.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-24 11:59:29 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-24 11:59:29 +0200
commit7db5fc838a7f701e495d41b0ff6a070591c84340 (patch)
treeac8f061dafa07580e8b6cf3fedcd290a9f43d3ac /src/gui_motif.c
parent55debbe38429b81c0ce6e8400aef36812eb151d7 (diff)
downloadvim-git-7db5fc838a7f701e495d41b0ff6a070591c84340.tar.gz
Fix uninit memory read in undo code. Fix uint32_t in proto file.
A few minor changes.
Diffstat (limited to 'src/gui_motif.c')
-rw-r--r--src/gui_motif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 1a7e03872..397ab597d 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -2023,7 +2023,7 @@ do_mnemonic(Widget w, unsigned int keycode)
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;