From 6039080cfba2b9344fa9cde2ba5688d2db590d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Tue, 17 Jan 2023 19:03:05 +1100 Subject: Bug [#2375]. On Win32, fix scrolling speed to not be too fast. --- gtk/ScintillaGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index ec6f83058..168416bb7 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2000,7 +2000,7 @@ gint ScintillaGTK::ScrollEvent(GtkWidget *widget, GdkEventScroll *event) { // where the X11 server already has an adaptive scrolling algorithm // that fights with this one int cLineScroll; -#if defined(__APPLE__) && !defined(GDK_WINDOWING_QUARTZ) +#if (defined(__APPLE__) || defined(PLAT_GTK_WIN32)) && !defined(GDK_WINDOWING_QUARTZ) cLineScroll = sciThis->linesPerScroll; if (cLineScroll == 0) cLineScroll = 4; -- cgit v1.2.3