0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.2-195

This commit is contained in:
Bram Moolenaar
2009-06-03 14:20:21 +00:00
parent 535c540085
commit 9085f80276
2 changed files with 10 additions and 2 deletions

View File

@@ -412,6 +412,7 @@ static const char *role_argument = NULL;
#endif
#if defined(FEAT_GUI_GNOME) && defined(FEAT_SESSION)
static const char *restart_command = NULL;
static char *abs_restart_command = NULL;
#endif
static int found_iconic_arg = FALSE;
@@ -449,8 +450,10 @@ gui_mch_prepare(int *argc, char **argv)
char_u buf[MAXPATHL];
if (mch_FullName((char_u *)argv[0], buf, (int)sizeof(buf), TRUE) == OK)
/* Tiny leak; doesn't matter, and usually we don't even get here */
restart_command = (char *)vim_strsave(buf);
{
abs_restart_command = (char *)vim_strsave(buf);
restart_command = abs_restart_command;
}
}
#endif
@@ -611,6 +614,9 @@ gui_mch_prepare(int *argc, char **argv)
gui_mch_free_all()
{
vim_free(gui_argv);
#if defined(FEAT_GUI_GNOME) && defined(FEAT_SESSION)
vim_free(abs_restart_command);
#endif
}
#endif

View File

@@ -676,6 +676,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
195,
/**/
194,
/**/