diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-20 19:42:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-20 19:42:10 +0200 |
commit | 2c5ed4e3300378ce76c8d9c3818d6f73e5119f68 (patch) | |
tree | 1fa5e72a63e160710ee6fd59fef09c8f334d0808 /src/gui.c | |
parent | faac410409a8d693a0326ad9db42dca85419a391 (diff) | |
download | vim-git-2c5ed4e3300378ce76c8d9c3818d6f73e5119f68.tar.gz |
patch 8.2.0612: Vim9: no check for space before #commentv8.2.0612
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5036,7 +5036,7 @@ ex_gui(exarg_T *eap) // of the argument ending up after the shell prompt. msg_clr_eos_force(); #ifdef GUI_MAY_SPAWN - if (!ends_excmd(*eap->arg)) + if (!ends_excmd2(eap->cmd, eap->arg)) gui_start(eap->arg); else #endif @@ -5045,7 +5045,7 @@ ex_gui(exarg_T *eap) channel_gui_register_all(); #endif } - if (!ends_excmd(*eap->arg)) + if (!ends_excmd2(eap->cmd, eap->arg)) ex_next(eap); } |