changeset 34316:bce11c34ef41 v9.1.0092

patch 9.1.0092: Compiler warning for missing type in scroll_event() Commit: https://github.com/vim/vim/commit/c908371aec920b8174e40a1adb73a50e326a5668 Author: Christian Brabandt <cb@256bit.org> Date: Sat Feb 10 13:17:16 2024 +0100 patch 9.1.0092: Compiler warning for missing type in scroll_event() Problem: Compiler warning for missing type in scroll_event() (chdiza) Solution: Declare display_type explicitly as integer fixes: #14005 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 10 Feb 2024 13:30:03 +0100
parents 8bd48fdd3413
children c3754d739059
files src/gui_gtk_x11.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -2065,7 +2065,7 @@ scroll_event(GtkWidget *widget,
 #endif
 #define DT_X11     1
 #define DT_WAYLAND 2
-    static display_type;
+    static int display_type;
     if (!display_type)
 	display_type = gui_mch_get_display() ? DT_X11 : DT_WAYLAND;
 #endif
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    92,
+/**/
     91,
 /**/
     90,