commit | ce0842a6ee214621ccf03693ab77a94851c09ab0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jul 18 21:58:11 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jul 18 21:58:11 2005 +0000 |
tree | 1dd3965d94b6497335e9c7ca77c0e02a58003218 | |
parent | bbebc857507f24c82cd5bb2f80305b74390b4611 [diff] [blame] |
updated for version 7.0109
diff --git a/src/gui_w32.c b/src/gui_w32.c index 11d0281..f0b4717 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c
@@ -3592,8 +3592,7 @@ if (label == NULL) break; - STRNCPY(text, menu->name, nameLen); - text[nameLen] = NUL; + vim_strncpy(text, menu->name, nameLen); text = vim_strchr(text, TAB); /* stop at TAB before actext */ if (text == NULL) text = label + nameLen; /* no actext, use whole name */