From: Bram Moolenaar Date: Fri, 24 Apr 2020 20:19:00 +0000 (+0200) Subject: patch 8.2.0632: crash when using Haiku X-Git-Tag: v8.2.0632 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92c461ef1b3b58c7dd4835bc881769f0f84e8ad0;p=vim patch 8.2.0632: crash when using Haiku Problem: Crash when using Haiku. Solution: Lock the screen. (closes #5975, closes #5973) --- diff --git a/src/screen.c b/src/screen.c index d73e7c694..845c5b210 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3881,6 +3881,10 @@ screen_del_lines( clip_scroll_selection(line_count); #endif +#ifdef FEAT_GUI_HAIKU + vim_lock_screen(); +#endif + #ifdef FEAT_GUI // Don't update the GUI cursor here, ScreenLines[] is invalid until the // scrolling is actually carried out. diff --git a/src/version.c b/src/version.c index 376462909..3483a42bd 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 632, /**/ 631, /**/