diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:47:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:47:53 +0000 |
commit | bbebc857507f24c82cd5bb2f80305b74390b4611 (patch) | |
tree | 4c1a949017d7975cb3e61b246783369bb529d53d /src/gui_motif.c | |
parent | fe3ca8ddd9b85240387b6fa7934af3317e25b731 (diff) | |
download | vim-git-bbebc857507f24c82cd5bb2f80305b74390b4611.tar.gz |
updated for version 7.0109
Diffstat (limited to 'src/gui_motif.c')
-rw-r--r-- | src/gui_motif.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c index 408b588a6..14f65caeb 100644 --- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -2620,10 +2620,7 @@ gui_mch_dialog(type, title, message, button_names, dfltbutton, textfield) 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); |