ex_getln: Replace global with entry in save_ccline

This commit is contained in:
ZyX
2017-07-17 02:33:18 +03:00
parent cb3c71eac9
commit 3a923ad2db
5 changed files with 46 additions and 42 deletions

View File

@@ -189,7 +189,8 @@ void do_debug(char_u *cmd)
}
xfree(cmdline);
cmdline = getcmdline_prompt('>', NULL, 0, EXPAND_NOTHING, NULL);
cmdline = (char_u *)getcmdline_prompt('>', NULL, 0, EXPAND_NOTHING, NULL,
CALLBACK_NONE);
if (typeahead_saved) {
restore_typeahead(&typeaheadbuf);