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