Mercurial > vim
comparison src/version.c @ 18408:50c0a9fb07ae v8.1.2198
patch 8.1.2198: crash when using :center in autocommand
Commit: https://github.com/vim/vim/commit/396b7c78c0fd9cd07528963b18c27398491df40d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 21 23:08:59 2019 +0200
patch 8.1.2198: crash when using :center in autocommand
Problem: Crash when using :center in autocommand.
Solution: Bail out early for an empty line. (Dominique pelle, closes https://github.com/vim/vim/issues/5095)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 21 Oct 2019 23:15:03 +0200 |
parents | fa6efc49d71f |
children | b5b2e3b824c2 |
comparison
equal
deleted
inserted
replaced
18407:3f9986aeb41a | 18408:50c0a9fb07ae |
---|---|
739 NULL | 739 NULL |
740 }; | 740 }; |
741 | 741 |
742 static int included_patches[] = | 742 static int included_patches[] = |
743 { /* Add new patch number below this line */ | 743 { /* Add new patch number below this line */ |
744 /**/ | |
745 2198, | |
744 /**/ | 746 /**/ |
745 2197, | 747 2197, |
746 /**/ | 748 /**/ |
747 2196, | 749 2196, |
748 /**/ | 750 /**/ |