astepano / rpms / vim

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