commit | f4120a8964851b03a8fee7e15944ba7ef0bcb5a6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 08 15:57:59 2011 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 08 15:57:59 2011 +0100 |
tree | 6c480c9c02d11fefb3b0f0b255ebded9649dc6a1 | |
parent | aeabe0545d5bcb6a89fad63078fb310f630b77fd [diff] [blame] |
updated for version 7.3.369 Problem: When compiled with Gnome get an error message when using --help. Solution: Don't fork. (Ivan Krasilnikov)
diff --git a/src/main.c b/src/main.c index 2044893..d1702fe 100644 --- a/src/main.c +++ b/src/main.c
@@ -3294,7 +3294,10 @@ #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);