Karsten Hopp c37e05
To: vim_dev@googlegroups.com
Karsten Hopp c37e05
Subject: Patch 7.3.423
Karsten Hopp c37e05
Fcc: outbox
Karsten Hopp c37e05
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c37e05
Mime-Version: 1.0
Karsten Hopp c37e05
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c37e05
Content-Transfer-Encoding: 8bit
Karsten Hopp c37e05
------------
Karsten Hopp c37e05
Karsten Hopp c37e05
Patch 7.3.423 
Karsten Hopp c37e05
Problem:    Small mistakes in comments, proto and indent. 
Karsten Hopp c37e05
Solution:   Fix the mistakes. 
Karsten Hopp c37e05
Files:      src/ex_cmds2.c, src/structs.h, src/ui.c, src/proto/ex_docmd.pro 
Karsten Hopp c37e05
Karsten Hopp c37e05
Karsten Hopp c37e05
*** ../vim-7.3.422/src/ex_cmds2.c	2011-10-20 21:38:37.000000000 +0200
Karsten Hopp c37e05
--- src/ex_cmds2.c	2011-11-30 11:02:20.000000000 +0100
Karsten Hopp c37e05
***************
Karsten Hopp c37e05
*** 1939,1945 ****
Karsten Hopp c37e05
  }
Karsten Hopp c37e05
  
Karsten Hopp c37e05
  /*
Karsten Hopp c37e05
!  * Return TRUE if window "win" is editing then file at the current argument
Karsten Hopp c37e05
   * index.
Karsten Hopp c37e05
   */
Karsten Hopp c37e05
      static int
Karsten Hopp c37e05
--- 1939,1945 ----
Karsten Hopp c37e05
  }
Karsten Hopp c37e05
  
Karsten Hopp c37e05
  /*
Karsten Hopp c37e05
!  * Return TRUE if window "win" is editing the file at the current argument
Karsten Hopp c37e05
   * index.
Karsten Hopp c37e05
   */
Karsten Hopp c37e05
      static int
Karsten Hopp c37e05
*** ../vim-7.3.422/src/structs.h	2011-05-19 13:40:47.000000000 +0200
Karsten Hopp c37e05
--- src/structs.h	2011-09-10 13:48:53.000000000 +0200
Karsten Hopp c37e05
***************
Karsten Hopp c37e05
*** 1846,1852 ****
Karsten Hopp c37e05
  				       often, keep it the first item!) */
Karsten Hopp c37e05
  
Karsten Hopp c37e05
  #if defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
Karsten Hopp c37e05
!     synblock_T	*w_s;
Karsten Hopp c37e05
  #endif
Karsten Hopp c37e05
  
Karsten Hopp c37e05
  #ifdef FEAT_WINDOWS
Karsten Hopp c37e05
--- 1846,1852 ----
Karsten Hopp c37e05
  				       often, keep it the first item!) */
Karsten Hopp c37e05
  
Karsten Hopp c37e05
  #if defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
Karsten Hopp c37e05
!     synblock_T	*w_s;		    /* for :ownsyntax */
Karsten Hopp c37e05
  #endif
Karsten Hopp c37e05
  
Karsten Hopp c37e05
  #ifdef FEAT_WINDOWS
Karsten Hopp c37e05
*** ../vim-7.3.422/src/ui.c	2011-07-07 16:20:45.000000000 +0200
Karsten Hopp c37e05
--- src/ui.c	2012-01-21 14:03:42.000000000 +0100
Karsten Hopp c37e05
***************
Karsten Hopp c37e05
*** 2363,2376 ****
Karsten Hopp c37e05
  	       XtLastTimestampProcessed(XtDisplay(myShell)),
Karsten Hopp c37e05
  	       clip_x11_convert_selection_cb, clip_x11_lose_ownership_cb,
Karsten Hopp c37e05
  	       NULL) == False)
Karsten Hopp c37e05
! 	return FAIL;
Karsten Hopp c37e05
      }
Karsten Hopp c37e05
      else
Karsten Hopp c37e05
  #endif
Karsten Hopp c37e05
      {
Karsten Hopp c37e05
  	if (!XChangeProperty(XtDisplay(myShell), XtWindow(myShell),
Karsten Hopp c37e05
  		  cbd->sel_atom, timestamp_atom, 32, PropModeAppend, NULL, 0))
Karsten Hopp c37e05
! 	return FAIL;
Karsten Hopp c37e05
      }
Karsten Hopp c37e05
      /* Flush is required in a terminal as nothing else is doing it. */
Karsten Hopp c37e05
      XFlush(XtDisplay(myShell));
Karsten Hopp c37e05
--- 2363,2376 ----
Karsten Hopp c37e05
  	       XtLastTimestampProcessed(XtDisplay(myShell)),
Karsten Hopp c37e05
  	       clip_x11_convert_selection_cb, clip_x11_lose_ownership_cb,
Karsten Hopp c37e05
  	       NULL) == False)
Karsten Hopp c37e05
! 	    return FAIL;
Karsten Hopp c37e05
      }
Karsten Hopp c37e05
      else
Karsten Hopp c37e05
  #endif
Karsten Hopp c37e05
      {
Karsten Hopp c37e05
  	if (!XChangeProperty(XtDisplay(myShell), XtWindow(myShell),
Karsten Hopp c37e05
  		  cbd->sel_atom, timestamp_atom, 32, PropModeAppend, NULL, 0))
Karsten Hopp c37e05
! 	    return FAIL;
Karsten Hopp c37e05
      }
Karsten Hopp c37e05
      /* Flush is required in a terminal as nothing else is doing it. */
Karsten Hopp c37e05
      XFlush(XtDisplay(myShell));
Karsten Hopp c37e05
*** ../vim-7.3.422/src/proto/ex_docmd.pro	2010-08-15 21:57:28.000000000 +0200
Karsten Hopp c37e05
--- src/proto/ex_docmd.pro	2011-01-16 00:22:21.000000000 +0100
Karsten Hopp c37e05
***************
Karsten Hopp c37e05
*** 1,7 ****
Karsten Hopp c37e05
  /* ex_docmd.c */
Karsten Hopp c37e05
  void do_exmode __ARGS((int improved));
Karsten Hopp c37e05
  int do_cmdline_cmd __ARGS((char_u *cmd));
Karsten Hopp c37e05
! int do_cmdline __ARGS((char_u *cmdline, char_u *(*getline)(int, void *, int), void *cookie, int flags));
Karsten Hopp c37e05
  int getline_equal __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie, char_u *(*func)(int, void *, int)));
Karsten Hopp c37e05
  void *getline_cookie __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie));
Karsten Hopp c37e05
  int checkforcmd __ARGS((char_u **pp, char *cmd, int len));
Karsten Hopp c37e05
--- 1,7 ----
Karsten Hopp c37e05
  /* ex_docmd.c */
Karsten Hopp c37e05
  void do_exmode __ARGS((int improved));
Karsten Hopp c37e05
  int do_cmdline_cmd __ARGS((char_u *cmd));
Karsten Hopp c37e05
! int do_cmdline __ARGS((char_u *cmdline, char_u *(*fgetline)(int, void *, int), void *cookie, int flags));
Karsten Hopp c37e05
  int getline_equal __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie, char_u *(*func)(int, void *, int)));
Karsten Hopp c37e05
  void *getline_cookie __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie));
Karsten Hopp c37e05
  int checkforcmd __ARGS((char_u **pp, char *cmd, int len));
Karsten Hopp c37e05
*** ../vim-7.3.422/src/version.c	2012-02-04 20:17:21.000000000 +0100
Karsten Hopp c37e05
--- src/version.c	2012-02-04 21:56:43.000000000 +0100
Karsten Hopp c37e05
***************
Karsten Hopp c37e05
*** 716,717 ****
Karsten Hopp c37e05
--- 716,719 ----
Karsten Hopp c37e05
  {   /* Add new patch number below this line */
Karsten Hopp c37e05
+ /**/
Karsten Hopp c37e05
+     423,
Karsten Hopp c37e05
  /**/
Karsten Hopp c37e05
Karsten Hopp c37e05
-- 
Karsten Hopp c37e05
In many of the more relaxed civilizations on the Outer Eastern Rim of the
Karsten Hopp c37e05
Galaxy, "The Hitchhiker's Guide to the Galaxy" has already supplanted the
Karsten Hopp c37e05
great "Encyclopedia Galactica" as the standard repository of all knowledge
Karsten Hopp c37e05
and wisdom, for though it has many omissions and contains much that is
Karsten Hopp c37e05
apocryphal, or at least wildly inaccurate, it scores over the older, more
Karsten Hopp c37e05
pedestrian work in two important respects.
Karsten Hopp c37e05
First, it is slightly cheaper; and second, it has the words "DON'T PANIC"
Karsten Hopp c37e05
inscribed in large friendly letters on its cover.
Karsten Hopp c37e05
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
Karsten Hopp c37e05
Karsten Hopp c37e05
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c37e05
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c37e05
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c37e05
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///