0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1576: users may not know what to do with an internal error

Problem:    Users may not know what to do with an internal error.
Solution:   Add a translated message with instructions.
This commit is contained in:
Bram Moolenaar
2023-05-24 21:02:24 +01:00
parent a8490a4952
commit 097c5370ea
15 changed files with 81 additions and 69 deletions

View File

@@ -3247,7 +3247,7 @@ save_funccal(funccal_entry_T *entry)
restore_funccal(void)
{
if (funccal_stack == NULL)
iemsg("INTERNAL: restore_funccal()");
internal_error("restore_funccal()");
else
{
current_funccal = funccal_stack->top_funccal;