commit | bbebc857507f24c82cd5bb2f80305b74390b4611 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jul 18 21:47:53 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jul 18 21:47:53 2005 +0000 |
tree | 4c1a949017d7975cb3e61b246783369bb529d53d | |
parent | fe3ca8ddd9b85240387b6fa7934af3317e25b731 [diff] [blame] |
updated for version 7.0109
diff --git a/src/gui_motif.c b/src/gui_motif.c index 408b588..14f65ca 100644 --- a/src/gui_motif.c +++ b/src/gui_motif.c
@@ -2620,10 +2620,7 @@ if (p == NULL || dialogStatus < 0) *textfield = NUL; else - { - STRNCPY(textfield, p, IOSIZE); - textfield[IOSIZE - 1] = NUL; - } + vim_strncpy(textfield, p, IOSIZE - 1); } suppress_dialog_mnemonics(dialogform);