0a3259d
To: vim-dev@vim.org
0a3259d
Subject: Patch 7.1.188
0a3259d
Fcc: outbox
0a3259d
From: Bram Moolenaar <Bram@moolenaar.net>
0a3259d
Mime-Version: 1.0
0a3259d
Content-Type: text/plain; charset=ISO-8859-1
0a3259d
Content-Transfer-Encoding: 8bit
0a3259d
------------
0a3259d
0a3259d
Patch 7.1.188
0a3259d
Problem:    When 'showmode' is off the message for changing a readonly file is
0a3259d
	    given in the second column instead of the first.  (Payl B.  Mahol)
0a3259d
Solution:   Put the W10 message in the first column.
0a3259d
Files:	    src/edit.c
0a3259d
0a3259d
0a3259d
*** ../vim-7.1.187/src/edit.c	Wed Jan  2 17:48:24 2008
0a3259d
--- src/edit.c	Wed Jan  2 20:56:46 2008
0a3259d
***************
0a3259d
*** 550,556 ****
0a3259d
  	i = showmode();
0a3259d
  
0a3259d
      if (!p_im && did_restart_edit == 0)
0a3259d
! 	change_warning(i + 1);
0a3259d
  
0a3259d
  #ifdef CURSOR_SHAPE
0a3259d
      ui_cursor_shape();		/* may show different cursor shape */
0a3259d
--- 550,556 ----
0a3259d
  	i = showmode();
0a3259d
  
0a3259d
      if (!p_im && did_restart_edit == 0)
0a3259d
! 	change_warning(i == 0 ? 0 : i + 1);
0a3259d
  
0a3259d
  #ifdef CURSOR_SHAPE
0a3259d
      ui_cursor_shape();		/* may show different cursor shape */
0a3259d
*** ../vim-7.1.187/src/version.c	Wed Jan  2 21:54:33 2008
0a3259d
--- src/version.c	Wed Jan  2 22:06:19 2008
0a3259d
***************
0a3259d
*** 668,669 ****
0a3259d
--- 668,671 ----
0a3259d
  {   /* Add new patch number below this line */
0a3259d
+ /**/
0a3259d
+     188,
0a3259d
  /**/
0a3259d
0a3259d
-- 
0a3259d
PRINCE:    He's come to rescue me, father.
0a3259d
LAUNCELOT: (embarrassed) Well, let's not jump to conclusions ...
0a3259d
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
0a3259d
0a3259d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
0a3259d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
0a3259d
\\\        download, build and distribute -- http://www.A-A-P.org        ///
0a3259d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///