mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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>
This commit is contained in:
@@ -2065,7 +2065,7 @@ scroll_event(GtkWidget *widget,
|
|||||||
#endif
|
#endif
|
||||||
#define DT_X11 1
|
#define DT_X11 1
|
||||||
#define DT_WAYLAND 2
|
#define DT_WAYLAND 2
|
||||||
static display_type;
|
static int display_type;
|
||||||
if (!display_type)
|
if (!display_type)
|
||||||
display_type = gui_mch_get_display() ? DT_X11 : DT_WAYLAND;
|
display_type = gui_mch_get_display() ? DT_X11 : DT_WAYLAND;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
92,
|
||||||
/**/
|
/**/
|
||||||
91,
|
91,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user