summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.184
blob: 3b0cfc692b78d8d4cf5a5b265426c5e7ee07775d (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
To: vim_dev@googlegroups.com
Subject: Patch 7.3.184
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.184
Problem:    Static code analysis errors in riscOS.
Solution:   Make buffer size bigger. (Dominique Pelle)
Files:	    src/gui_riscos.c


*** ../vim-7.3.183/src/gui_riscos.c	2010-08-15 21:57:28.000000000 +0200
--- src/gui_riscos.c	2011-05-10 15:49:56.000000000 +0200
***************
*** 1756,1762 ****
  
  	if (button & 0x444)
  	{
! 	    int	    front_block[10];
  	    /* Dragging with Select - bring window to front first */
  	    front_block[0] = gui.window_handle;
  	    swi(Wimp_GetWindowState, 0, front_block);
--- 1756,1762 ----
  
  	if (button & 0x444)
  	{
! 	    int	    front_block[64];
  	    /* Dragging with Select - bring window to front first */
  	    front_block[0] = gui.window_handle;
  	    swi(Wimp_GetWindowState, 0, front_block);
***************
*** 1874,1880 ****
  
      if (ro_dragging == DRAG_RESIZE_WINDOW)
      {
! 	/* Resizeing the main window. */
  	block[2] = y;
  	block[3] = x;
  	ro_open_main(block);
--- 1874,1880 ----
  
      if (ro_dragging == DRAG_RESIZE_WINDOW)
      {
! 	/* Resizing the main window. */
  	block[2] = y;
  	block[3] = x;
  	ro_open_main(block);
***************
*** 2651,2657 ****
      long_u	length;
  
      block[0] = 48;			/* Size of block. */
!     block[3] = 0;			/* Orinial message. */
      block[4] = 0x10;			/* Data request. */
      block[5] = gui.window_handle;
      block[6] = RO_LOAD_CLIPBOARD;	/* Internal handle. */
--- 2651,2657 ----
      long_u	length;
  
      block[0] = 48;			/* Size of block. */
!     block[3] = 0;			/* Original message. */
      block[4] = 0x10;			/* Data request. */
      block[5] = gui.window_handle;
      block[6] = RO_LOAD_CLIPBOARD;	/* Internal handle. */
*** ../vim-7.3.183/src/version.c	2011-05-10 15:41:59.000000000 +0200
--- src/version.c	2011-05-10 15:51:29.000000000 +0200
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     184,
  /**/

-- 
If bankers can count, how come they have eight windows and
only four tellers?

 /// 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    ///