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