summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.423
blob: 74bf62d2accdb0503bc17c5ca13b359f9e409f28 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
To: vim_dev@googlegroups.com
Subject: Patch 7.3.423
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.423 
Problem:    Small mistakes in comments, proto and indent. 
Solution:   Fix the mistakes. 
Files:      src/ex_cmds2.c, src/structs.h, src/ui.c, src/proto/ex_docmd.pro 


*** ../vim-7.3.422/src/ex_cmds2.c	2011-10-20 21:38:37.000000000 +0200
--- src/ex_cmds2.c	2011-11-30 11:02:20.000000000 +0100
***************
*** 1939,1945 ****
  }
  
  /*
!  * Return TRUE if window "win" is editing then file at the current argument
   * index.
   */
      static int
--- 1939,1945 ----
  }
  
  /*
!  * Return TRUE if window "win" is editing the file at the current argument
   * index.
   */
      static int
*** ../vim-7.3.422/src/structs.h	2011-05-19 13:40:47.000000000 +0200
--- src/structs.h	2011-09-10 13:48:53.000000000 +0200
***************
*** 1846,1852 ****
  				       often, keep it the first item!) */
  
  #if defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
!     synblock_T	*w_s;
  #endif
  
  #ifdef FEAT_WINDOWS
--- 1846,1852 ----
  				       often, keep it the first item!) */
  
  #if defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
!     synblock_T	*w_s;		    /* for :ownsyntax */
  #endif
  
  #ifdef FEAT_WINDOWS
*** ../vim-7.3.422/src/ui.c	2011-07-07 16:20:45.000000000 +0200
--- src/ui.c	2012-01-21 14:03:42.000000000 +0100
***************
*** 2363,2376 ****
  	       XtLastTimestampProcessed(XtDisplay(myShell)),
  	       clip_x11_convert_selection_cb, clip_x11_lose_ownership_cb,
  	       NULL) == False)
! 	return FAIL;
      }
      else
  #endif
      {
  	if (!XChangeProperty(XtDisplay(myShell), XtWindow(myShell),
  		  cbd->sel_atom, timestamp_atom, 32, PropModeAppend, NULL, 0))
! 	return FAIL;
      }
      /* Flush is required in a terminal as nothing else is doing it. */
      XFlush(XtDisplay(myShell));
--- 2363,2376 ----
  	       XtLastTimestampProcessed(XtDisplay(myShell)),
  	       clip_x11_convert_selection_cb, clip_x11_lose_ownership_cb,
  	       NULL) == False)
! 	    return FAIL;
      }
      else
  #endif
      {
  	if (!XChangeProperty(XtDisplay(myShell), XtWindow(myShell),
  		  cbd->sel_atom, timestamp_atom, 32, PropModeAppend, NULL, 0))
! 	    return FAIL;
      }
      /* Flush is required in a terminal as nothing else is doing it. */
      XFlush(XtDisplay(myShell));
*** ../vim-7.3.422/src/proto/ex_docmd.pro	2010-08-15 21:57:28.000000000 +0200
--- src/proto/ex_docmd.pro	2011-01-16 00:22:21.000000000 +0100
***************
*** 1,7 ****
  /* ex_docmd.c */
  void do_exmode __ARGS((int improved));
  int do_cmdline_cmd __ARGS((char_u *cmd));
! int do_cmdline __ARGS((char_u *cmdline, char_u *(*getline)(int, void *, int), void *cookie, int flags));
  int getline_equal __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie, char_u *(*func)(int, void *, int)));
  void *getline_cookie __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie));
  int checkforcmd __ARGS((char_u **pp, char *cmd, int len));
--- 1,7 ----
  /* ex_docmd.c */
  void do_exmode __ARGS((int improved));
  int do_cmdline_cmd __ARGS((char_u *cmd));
! int do_cmdline __ARGS((char_u *cmdline, char_u *(*fgetline)(int, void *, int), void *cookie, int flags));
  int getline_equal __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie, char_u *(*func)(int, void *, int)));
  void *getline_cookie __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie));
  int checkforcmd __ARGS((char_u **pp, char *cmd, int len));
*** ../vim-7.3.422/src/version.c	2012-02-04 20:17:21.000000000 +0100
--- src/version.c	2012-02-04 21:56:43.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     423,
  /**/

-- 
In many of the more relaxed civilizations on the Outer Eastern Rim of the
Galaxy, "The Hitchhiker's Guide to the Galaxy" has already supplanted the
great "Encyclopedia Galactica" as the standard repository of all knowledge
and wisdom, for though it has many omissions and contains much that is
apocryphal, or at least wildly inaccurate, it scores over the older, more
pedestrian work in two important respects.
First, it is slightly cheaper; and second, it has the words "DON'T PANIC"
inscribed in large friendly letters on its cover.
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///