home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.169 < prev    next >
Encoding:
Internet Message Format  |  2002-02-02  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.169
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.169
  11. Problem:    When run as evim and the GUI can't be started we get stuck in a
  12.             terminal without menus in Insert mode.
  13. Solution:   Exit when using "evim" and "gvim -y" when the GUI can't be
  14.             started.
  15. Files:      src/main.c
  16.  
  17.  
  18. *** ../vim60.168/src/main.c    Sun Feb  3 16:32:18 2002
  19. --- src/main.c    Sun Feb  3 18:49:33 2002
  20. ***************
  21. *** 994,1000 ****
  22. --- 994,1007 ----
  23.        * Don't know about other systems, stay on the safe side and don't check.
  24.        */
  25.       if (gui.starting && gui_init_check() == FAIL)
  26. +     {
  27.       gui.starting = FALSE;
  28. +     /* When running "evim" or "gvim -y" we need the menus, exit if we
  29. +      * don't have them. */
  30. +     if (evim_mode)
  31. +         mch_exit(1);
  32. +     }
  33.   # endif
  34.   #endif
  35.   
  36. ***************
  37. *** 1373,1378 ****
  38. --- 1380,1390 ----
  39.   
  40.       gui_start();        /* will set full_screen to TRUE */
  41.       TIME_MSG("starting GUI");
  42. +     /* When running "evim" or "gvim -y" we need the menus, exit if we
  43. +      * don't have them. */
  44. +     if (!gui.in_use && evim_mode)
  45. +         mch_exit(1);
  46.       }
  47.   #endif
  48.   
  49. *** ../vim60.168/src/version.c    Sun Feb  3 17:55:07 2002
  50. --- src/version.c    Sun Feb  3 18:49:53 2002
  51. ***************
  52. *** 608,609 ****
  53. --- 608,611 ----
  54.   {   /* Add new patch number below this line */
  55. + /**/
  56. +     169,
  57.   /**/
  58.  
  59. -- 
  60. hundred-and-one symptoms of being an internet addict:
  61. 169. You hire a housekeeper for your home page.
  62.  
  63.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  64. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  65.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  66.