0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0109

This commit is contained in:
Bram Moolenaar
2005-07-18 21:58:11 +00:00
parent bbebc85750
commit ce0842a6ee
30 changed files with 178 additions and 134 deletions

View File

@@ -2325,9 +2325,9 @@ sm_client_die(GnomeClient *client, gpointer data)
/* Don't write messages to the GUI anymore */
full_screen = FALSE;
STRNCPY(IObuff, _("Vim: Received \"die\" request from session manager\n"),
IOSIZE);
IObuff[IOSIZE - 1] = NUL;
vim_strncpy(IObuff,
_("Vim: Received \"die\" request from session manager\n"),
IOSIZE - 1);
preserve_exit();
}
@@ -3527,9 +3527,9 @@ mainwin_destroy_cb(GtkObject *object, gpointer data)
if (!exiting) /* only do anything if the destroy was unexpected */
{
STRNCPY(IObuff, _("Vim: Main window unexpectedly destroyed\n"),
IOSIZE);
IObuff[IOSIZE - 1] = NUL;
vim_strncpy(IObuff,
(char_u *)_("Vim: Main window unexpectedly destroyed\n"),
IOSIZE - 1);
preserve_exit();
}
}