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