1
0
forked from aniani/vim

updated for version 7.0109

This commit is contained in:
Bram Moolenaar
2005-07-18 21:47:53 +00:00
parent fe3ca8ddd9
commit bbebc85750
13 changed files with 128 additions and 69 deletions

View File

@@ -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);