3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.621
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.621 (after 7.4.619)
3ef2ca
Problem:    Returning 1 in the wrong function. (Raymond Ko)
3ef2ca
Solution:   Return 1 in the right function (hopefully).
3ef2ca
Files:	    src/if_lua.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.620/src/if_lua.c	2015-02-04 22:02:33.184877183 +0100
3ef2ca
--- src/if_lua.c	2015-02-04 23:01:52.189364426 +0100
3ef2ca
***************
3ef2ca
*** 1517,1523 ****
3ef2ca
  	return 0;
3ef2ca
      }
3ef2ca
      luaV_totypval(L, -1, rettv);
3ef2ca
!     return 1;
3ef2ca
  }
3ef2ca
  
3ef2ca
      static int
3ef2ca
--- 1517,1523 ----
3ef2ca
  	return 0;
3ef2ca
      }
3ef2ca
      luaV_totypval(L, -1, rettv);
3ef2ca
!     return 0;
3ef2ca
  }
3ef2ca
  
3ef2ca
      static int
3ef2ca
***************
3ef2ca
*** 1548,1554 ****
3ef2ca
  	abort = set_ref_in_item(&tv, copyID, NULL, NULL);
3ef2ca
      }
3ef2ca
      lua_pushinteger(L, abort);
3ef2ca
!     return 0;
3ef2ca
  }
3ef2ca
  
3ef2ca
      static int
3ef2ca
--- 1548,1554 ----
3ef2ca
  	abort = set_ref_in_item(&tv, copyID, NULL, NULL);
3ef2ca
      }
3ef2ca
      lua_pushinteger(L, abort);
3ef2ca
!     return 1;
3ef2ca
  }
3ef2ca
  
3ef2ca
      static int
3ef2ca
*** ../vim-7.4.620/src/version.c	2015-02-04 23:06:39.453536117 +0100
3ef2ca
--- src/version.c	2015-02-04 23:07:28.484882812 +0100
3ef2ca
***************
3ef2ca
*** 743,744 ****
3ef2ca
--- 743,746 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     621,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
178. You look for an icon to double-click to open your bedroom window.
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///