Karsten Hopp 88878d
To: vim_dev@googlegroups.com
Karsten Hopp 88878d
Subject: Patch 7.3.105
Karsten Hopp 88878d
Fcc: outbox
Karsten Hopp 88878d
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 88878d
Mime-Version: 1.0
Karsten Hopp 88878d
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 88878d
Content-Transfer-Encoding: 8bit
Karsten Hopp 88878d
------------
Karsten Hopp 88878d
Karsten Hopp 88878d
Patch 7.3.105
Karsten Hopp 88878d
Problem:    Can't get the value of "b:changedtick" with getbufvar().
Karsten Hopp 88878d
Solution:   Make it work. (Christian Brabandt)
Karsten Hopp 88878d
Files:      src/eval.c
Karsten Hopp 88878d
Karsten Hopp 88878d
Karsten Hopp 88878d
*** ../vim-7.3.104/src/eval.c	2011-01-17 20:08:03.000000000 +0100
Karsten Hopp 88878d
--- src/eval.c	2011-01-22 01:10:42.000000000 +0100
Karsten Hopp 88878d
***************
Karsten Hopp 88878d
*** 10866,10871 ****
Karsten Hopp 88878d
--- 10866,10876 ----
Karsten Hopp 88878d
  
Karsten Hopp 88878d
  	if (*varname == '&')	/* buffer-local-option */
Karsten Hopp 88878d
  	    get_option_tv(&varname, rettv, TRUE);
Karsten Hopp 88878d
+ 	else if (STRCMP(varname, "changedtick") == 0)
Karsten Hopp 88878d
+ 	{
Karsten Hopp 88878d
+ 	    rettv->v_type = VAR_NUMBER;
Karsten Hopp 88878d
+ 	    rettv->vval.v_number = curbuf->b_changedtick;
Karsten Hopp 88878d
+ 	}
Karsten Hopp 88878d
  	else
Karsten Hopp 88878d
  	{
Karsten Hopp 88878d
  	    if (*varname == NUL)
Karsten Hopp 88878d
*** ../vim-7.3.104/src/version.c	2011-01-22 00:58:15.000000000 +0100
Karsten Hopp 88878d
--- src/version.c	2011-01-22 01:13:19.000000000 +0100
Karsten Hopp 88878d
***************
Karsten Hopp 88878d
*** 716,717 ****
Karsten Hopp 88878d
--- 716,719 ----
Karsten Hopp 88878d
  {   /* Add new patch number below this line */
Karsten Hopp 88878d
+ /**/
Karsten Hopp 88878d
+     105,
Karsten Hopp 88878d
  /**/
Karsten Hopp 88878d
Karsten Hopp 88878d
-- 
Karsten Hopp 88878d
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 88878d
133. You communicate with people on other continents more than you
Karsten Hopp 88878d
     do with your own neighbors.
Karsten Hopp 88878d
Karsten Hopp 88878d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 88878d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 88878d
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 88878d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///