6004513
To: vim_dev@googlegroups.com
6004513
Subject: Patch 7.3.184
6004513
Fcc: outbox
6004513
From: Bram Moolenaar <Bram@moolenaar.net>
6004513
Mime-Version: 1.0
6004513
Content-Type: text/plain; charset=UTF-8
6004513
Content-Transfer-Encoding: 8bit
6004513
------------
6004513
6004513
Patch 7.3.184
6004513
Problem:    Static code analysis errors in riscOS.
6004513
Solution:   Make buffer size bigger. (Dominique Pelle)
6004513
Files:	    src/gui_riscos.c
6004513
6004513
6004513
*** ../vim-7.3.183/src/gui_riscos.c	2010-08-15 21:57:28.000000000 +0200
6004513
--- src/gui_riscos.c	2011-05-10 15:49:56.000000000 +0200
6004513
***************
6004513
*** 1756,1762 ****
6004513
  
6004513
  	if (button & 0x444)
6004513
  	{
6004513
! 	    int	    front_block[10];
6004513
  	    /* Dragging with Select - bring window to front first */
6004513
  	    front_block[0] = gui.window_handle;
6004513
  	    swi(Wimp_GetWindowState, 0, front_block);
6004513
--- 1756,1762 ----
6004513
  
6004513
  	if (button & 0x444)
6004513
  	{
6004513
! 	    int	    front_block[64];
6004513
  	    /* Dragging with Select - bring window to front first */
6004513
  	    front_block[0] = gui.window_handle;
6004513
  	    swi(Wimp_GetWindowState, 0, front_block);
6004513
***************
6004513
*** 1874,1880 ****
6004513
  
6004513
      if (ro_dragging == DRAG_RESIZE_WINDOW)
6004513
      {
6004513
! 	/* Resizeing the main window. */
6004513
  	block[2] = y;
6004513
  	block[3] = x;
6004513
  	ro_open_main(block);
6004513
--- 1874,1880 ----
6004513
  
6004513
      if (ro_dragging == DRAG_RESIZE_WINDOW)
6004513
      {
6004513
! 	/* Resizing the main window. */
6004513
  	block[2] = y;
6004513
  	block[3] = x;
6004513
  	ro_open_main(block);
6004513
***************
6004513
*** 2651,2657 ****
6004513
      long_u	length;
6004513
  
6004513
      block[0] = 48;			/* Size of block. */
6004513
!     block[3] = 0;			/* Orinial message. */
6004513
      block[4] = 0x10;			/* Data request. */
6004513
      block[5] = gui.window_handle;
6004513
      block[6] = RO_LOAD_CLIPBOARD;	/* Internal handle. */
6004513
--- 2651,2657 ----
6004513
      long_u	length;
6004513
  
6004513
      block[0] = 48;			/* Size of block. */
6004513
!     block[3] = 0;			/* Original message. */
6004513
      block[4] = 0x10;			/* Data request. */
6004513
      block[5] = gui.window_handle;
6004513
      block[6] = RO_LOAD_CLIPBOARD;	/* Internal handle. */
6004513
*** ../vim-7.3.183/src/version.c	2011-05-10 15:41:59.000000000 +0200
6004513
--- src/version.c	2011-05-10 15:51:29.000000000 +0200
6004513
***************
6004513
*** 716,717 ****
6004513
--- 716,719 ----
6004513
  {   /* Add new patch number below this line */
6004513
+ /**/
6004513
+     184,
6004513
  /**/
6004513
6004513
-- 
6004513
If bankers can count, how come they have eight windows and
6004513
only four tellers?
6004513
6004513
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
6004513
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
6004513
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
6004513
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///