]> granicus.if.org Git - vim/commitdiff
patch 8.2.0632: crash when using Haiku v8.2.0632
authorBram Moolenaar <Bram@vim.org>
Fri, 24 Apr 2020 20:19:00 +0000 (22:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 24 Apr 2020 20:19:00 +0000 (22:19 +0200)
Problem:    Crash when using Haiku.
Solution:   Lock the screen. (closes #5975, closes #5973)

src/screen.c
src/version.c

index d73e7c6941404604c00ff05f904673ee9e173c0d..845c5b21038a7f9fd4ed6343bcd71ee13dde816d 100644 (file)
@@ -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.
index 376462909767a834931e12bd674e2d2a02a22282..3483a42bde7fca249932c97f0f6e4e94b18932d6 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    632,
 /**/
     631,
 /**/