]> granicus.if.org Git - vim/commitdiff
patch 8.0.0915: wrong initialisation of global v8.0.0915
authorBram Moolenaar <Bram@vim.org>
Sat, 12 Aug 2017 13:15:33 +0000 (15:15 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 12 Aug 2017 13:15:33 +0000 (15:15 +0200)
Problem:    Wrong initialisation of global.
Solution:   Use INIT().

src/globals.h
src/version.c

index d420560988e9378263ea7f9ce3c69496d9e0a3c8..8fb12050e501aa3dad2c21f994942fcefd337406 100644 (file)
@@ -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
 
 /*
index 72701c94b3068e4864aa9811771ff7697a1e0a34..306aeb428017cf1763bdb5ce1c3b25b7b7725113 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    915,
 /**/
     914,
 /**/