summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-09-14 14:43:25 +0200
committerBram Moolenaar <Bram@vim.org>2011-09-14 14:43:25 +0200
commita971b82b160aca28cff7e318d4553df5349b5103 (patch)
tree3fb27e26538bc4ea9cb3671fd763dce2e6183f00 /src/ex_cmds.c
parent52af96527c914599334e3c2543ebb5ba1e37bbbe (diff)
downloadvim-git-a971b82b160aca28cff7e318d4553df5349b5103.tar.gz
updated for version 7.3.306v7.3.306
Problem: When closing a window there is a chance that deleting a scrollbar triggers a GUI resize, which uses the window while it is not in a valid state. Solution: Set the buffer pointer to NULL to be able to detect the invalid situation. Fix a few places that used the buffer pointer incorrectly.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 954211385..36b0e5228 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3619,10 +3619,6 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags, oldwin)
*/
check_arg_idx(curwin);
-#ifdef FEAT_SYN_HL
- reset_synblock(curwin); /* remove any ownsyntax */
-#endif
-
#ifdef FEAT_AUTOCMD
if (!auto_buf)
#endif