# HG changeset patch # User Bram Moolenaar # Date 1305035535 -7200 # Node ID b941cc96926a26b62d59f759a021ddb5b51823ed # Parent 1febc32aac3a72b1f106997e29a6109679fb3897 updated for version 7.3.184 Problem: Static code analysis errors in riscOS. Solution: Make buffer size bigger. (Dominique Pelle) diff --git a/src/gui_riscos.c b/src/gui_riscos.c --- 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. */ diff --git a/src/version.c b/src/version.c --- 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,