4e51c11
To: vim-dev@vim.org
4e51c11
Subject: Patch 7.2.020
4e51c11
Fcc: outbox
4e51c11
From: Bram Moolenaar <Bram@moolenaar.net>
4e51c11
Mime-Version: 1.0
4e51c11
Content-Type: text/plain; charset=ISO-8859-1
4e51c11
Content-Transfer-Encoding: 8bit
4e51c11
------------
4e51c11
4e51c11
Patch 7.2.020
4e51c11
Problem:    Starting the GUI when the executable starts with 'k', but the KDE
4e51c11
	    version no longer exists.
4e51c11
Solution:   Don't have "kvim" start the GUI.
4e51c11
Files:	    src/main.c
4e51c11
4e51c11
4e51c11
*** ../vim-7.2.019/src/main.c	Thu Jul 24 19:34:23 2008
4e51c11
--- src/main.c	Sun Sep 14 13:26:10 2008
4e51c11
***************
4e51c11
*** 1457,1463 ****
4e51c11
  	++initstr;
4e51c11
      }
4e51c11
  
4e51c11
!     if (TOLOWER_ASC(initstr[0]) == 'g' || initstr[0] == 'k')
4e51c11
      {
4e51c11
  	main_start_gui();
4e51c11
  #ifdef FEAT_GUI
4e51c11
--- 1458,1465 ----
4e51c11
  	++initstr;
4e51c11
      }
4e51c11
  
4e51c11
!     /* "gvim" starts the GUI.  Also accept "Gvim" for MS-Windows. */
4e51c11
!     if (TOLOWER_ASC(initstr[0]) == 'g')
4e51c11
      {
4e51c11
  	main_start_gui();
4e51c11
  #ifdef FEAT_GUI
4e51c11
*** ../vim-7.2.019/src/version.c	Thu Sep 18 12:43:21 2008
4e51c11
--- src/version.c	Thu Sep 18 20:54:10 2008
4e51c11
***************
4e51c11
*** 678,679 ****
4e51c11
--- 678,681 ----
4e51c11
  {   /* Add new patch number below this line */
4e51c11
+ /**/
4e51c11
+     20,
4e51c11
  /**/
4e51c11
4e51c11
-- 
4e51c11
hundred-and-one symptoms of being an internet addict:
4e51c11
90. Instead of calling you to dinner, your spouse sends e-mail.
4e51c11
4e51c11
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
4e51c11
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
4e51c11
\\\        download, build and distribute -- http://www.A-A-P.org        ///
4e51c11
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///