changeset 2817:b941cc96926a v7.3.184

updated for version 7.3.184 Problem: Static code analysis errors in riscOS. Solution: Make buffer size bigger. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Tue, 10 May 2011 15:52:15 +0200
parents 1febc32aac3a
children 3e78bbcc9554
files src/gui_riscos.c src/version.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_riscos.c
+++ b/src/gui_riscos.c
@@ -1756,7 +1756,7 @@ ro_mouse(block)
 
 	if (button & 0x444)
 	{
-	    int	    front_block[10];
+	    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,7 +1874,7 @@ ro_continue_drag(block)
 
     if (ro_dragging == DRAG_RESIZE_WINDOW)
     {
-	/* Resizeing the main window. */
+	/* Resizing the main window. */
 	block[2] = y;
 	block[3] = x;
 	ro_open_main(block);
@@ -2651,7 +2651,7 @@ clip_mch_request_selection(VimClipboard 
     long_u	length;
 
     block[0] = 48;			/* Size of block. */
-    block[3] = 0;			/* Orinial message. */
+    block[3] = 0;			/* Original message. */
     block[4] = 0x10;			/* Data request. */
     block[5] = gui.window_handle;
     block[6] = RO_LOAD_CLIPBOARD;	/* Internal handle. */
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    184,
+/**/
     183,
 /**/
     182,