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

updated for version 7.3.369

Problem:    When compiled with Gnome get an error message when using --help.
Solution:   Don't fork. (Ivan Krasilnikov)
This commit is contained in:
Bram Moolenaar
2011-12-08 15:57:59 +01:00
parent aeabe0545d
commit f4120a8964
2 changed files with 5 additions and 0 deletions

View File

@@ -3294,7 +3294,10 @@ usage()
#ifdef FEAT_GUI_GNOME
/* Gnome gives extra messages for --help if we continue, but not for -h. */
if (gui.starting)
{
mch_msg("\n");
gui.dofork = FALSE;
}
else
#endif
mch_exit(0);