diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-11-16 12:01:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-16 12:01:53 +0100 |
commit | 18096631b160e136a07cc56bf29fe6a82d277fd5 (patch) | |
tree | 41089d7a998d36e3f955fbdcd46d0bebc229080e /src/nvim/getchar.c | |
parent | d79164c9f9ffbb17b82b3a523e217e61f43697be (diff) | |
parent | ebdf90e7d7c97b4355f42e06769e9424c279d695 (diff) | |
download | rneovim-18096631b160e136a07cc56bf29fe6a82d277fd5.tar.gz rneovim-18096631b160e136a07cc56bf29fe6a82d277fd5.tar.bz2 rneovim-18096631b160e136a07cc56bf29fe6a82d277fd5.zip |
Merge pull request #11399 from bfredl/markundo
extmark: do not crash in read-only buffer
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 399f0671b4..c038977127 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -2409,7 +2409,6 @@ int inchar( did_outofmem_msg = FALSE; /* display out of memory message (again) */ did_swapwrite_msg = FALSE; /* display swap file write error again */ } - undo_off = FALSE; /* restart undo now */ // Get a character from a script file if there is one. // If interrupted: Stop reading script files, close them all. |