diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_getln.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 4ea25117d9..8be8d757c8 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -5933,6 +5933,7 @@ void ex_history(exarg_T *eap) for (; !got_int && histype1 <= histype2; ++histype1) { STRCPY(IObuff, "\n # "); + assert(history_names[histype1] != NULL); STRCAT(STRCAT(IObuff, history_names[histype1]), " history"); MSG_PUTS_TITLE(IObuff); idx = hisidx[histype1]; |