From 79518e2ace5fce7b9c49060e462a6e935dba0a84 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 17 Feb 2017 16:31:35 +0100 Subject: patch 8.0.0334: can't access b:changedtick from a dict reference Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim #6112) --- src/globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/globals.h') diff --git a/src/globals.h b/src/globals.h index f3e5155e9..831cbf1d8 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1088,7 +1088,7 @@ EXTERN pos_T last_cursormoved /* for CursorMoved event */ = INIT_POS_T(0, 0, 0) # endif ; -EXTERN int last_changedtick INIT(= 0); /* for TextChanged event */ +EXTERN varnumber_T last_changedtick INIT(= 0); /* for TextChanged event */ EXTERN buf_T *last_changedtick_buf INIT(= NULL); #endif -- cgit v1.2.1