mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0612: Vim9: no check for space before #comment
Problem: Vim9: no check for space before #comment. Solution: Add space checks.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user