changeset 12070:903cea6f627c v8.0.0915

patch 8.0.0915: wrong initialisation of global commit https://github.com/vim/vim/commit/7eedd4398aee195212bd06004d3533ca24c0823c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 12 15:15:33 2017 +0200 patch 8.0.0915: wrong initialisation of global Problem: Wrong initialisation of global. Solution: Use INIT().
author Christian Brabandt <cb@256bit.org>
date Sat, 12 Aug 2017 15:30:04 +0200
parents 8acb0519330f
children ca0f663ea428
files src/globals.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -1672,7 +1672,7 @@ EXTERN int *eval_lavars_used INIT(= NULL
 #endif
 
 #ifdef WIN3264
-EXTERN int ctrl_break_was_pressed = FALSE;
+EXTERN int ctrl_break_was_pressed INIT(= FALSE);
 #endif
 
 /*
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    915,
+/**/
     914,
 /**/
     913,