99b86a7
To: vim-dev@vim.org
99b86a7
Subject: Patch 7.1.189
99b86a7
Fcc: outbox
99b86a7
From: Bram Moolenaar <Bram@moolenaar.net>
99b86a7
Mime-Version: 1.0
99b86a7
Content-Type: text/plain; charset=ISO-8859-1
99b86a7
Content-Transfer-Encoding: 8bit
99b86a7
------------
99b86a7
99b86a7
Patch 7.1.189 (after 7.1.104)
99b86a7
Problem:    Patch 7.1.104 was incomplete.
99b86a7
Solution:   Also call plain_vgetc() in ask_yesno().
99b86a7
Files:	    src/misc1.c
99b86a7
99b86a7
99b86a7
*** ../vim-7.1.188/src/misc1.c	Wed Jan  2 17:48:24 2008
99b86a7
--- src/misc1.c	Wed Jan  2 17:48:00 2008
99b86a7
***************
99b86a7
*** 222,231 ****
99b86a7
  	    *s++ = *p++;
99b86a7
  	    orig_char_len--;
99b86a7
  	}
99b86a7
  	/* Skip over any additional white space (useful when newindent is less
99b86a7
  	 * than old) */
99b86a7
  	while (vim_iswhite(*p))
99b86a7
! 	    (void)*p++;
99b86a7
  
99b86a7
      }
99b86a7
      else
99b86a7
--- 222,232 ----
99b86a7
  	    *s++ = *p++;
99b86a7
  	    orig_char_len--;
99b86a7
  	}
99b86a7
+ 
99b86a7
  	/* Skip over any additional white space (useful when newindent is less
99b86a7
  	 * than old) */
99b86a7
  	while (vim_iswhite(*p))
99b86a7
! 	    ++p;
99b86a7
  
99b86a7
      }
99b86a7
      else
99b86a7
***************
99b86a7
*** 3024,3030 ****
99b86a7
  	if (direct)
99b86a7
  	    r = get_keystroke();
99b86a7
  	else
99b86a7
! 	    r = safe_vgetc();
99b86a7
  	if (r == Ctrl_C || r == ESC)
99b86a7
  	    r = 'n';
99b86a7
  	msg_putchar(r);	    /* show what you typed */
99b86a7
--- 3025,3031 ----
99b86a7
  	if (direct)
99b86a7
  	    r = get_keystroke();
99b86a7
  	else
99b86a7
! 	    r = plain_vgetc();
99b86a7
  	if (r == Ctrl_C || r == ESC)
99b86a7
  	    r = 'n';
99b86a7
  	msg_putchar(r);	    /* show what you typed */
99b86a7
*** ../vim-7.1.188/src/version.c	Wed Jan  2 22:08:43 2008
99b86a7
--- src/version.c	Thu Jan  3 12:40:31 2008
99b86a7
***************
99b86a7
*** 668,669 ****
99b86a7
--- 668,671 ----
99b86a7
  {   /* Add new patch number below this line */
99b86a7
+ /**/
99b86a7
+     189,
99b86a7
  /**/
99b86a7
99b86a7
-- 
99b86a7
Q: How does a UNIX Guru do Sex ?
99b86a7
A: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
99b86a7
99b86a7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
99b86a7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
99b86a7
\\\        download, build and distribute -- http://www.A-A-P.org        ///
99b86a7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///