mirror of
https://github.com/vim/vim.git
synced 2025-10-24 08:54:47 -04:00
patch 8.2.3967: error messages are spread out
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
This commit is contained in:
@@ -668,14 +668,14 @@ mzscheme_runtime_link_init(char *sch_dll, char *gc_dll, int verbose)
|
||||
if (!hMzGC)
|
||||
{
|
||||
if (verbose)
|
||||
semsg(_(e_loadlib), gc_dll, GetWin32Error());
|
||||
semsg(_(e_could_not_load_library_str_str), gc_dll, GetWin32Error());
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (!hMzSch)
|
||||
{
|
||||
if (verbose)
|
||||
semsg(_(e_loadlib), sch_dll, GetWin32Error());
|
||||
semsg(_(e_could_not_load_library_str_str), sch_dll, GetWin32Error());
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
@@ -689,7 +689,7 @@ mzscheme_runtime_link_init(char *sch_dll, char *gc_dll, int verbose)
|
||||
FreeLibrary(hMzGC);
|
||||
hMzGC = 0;
|
||||
if (verbose)
|
||||
semsg(_(e_loadfunc), thunk->name);
|
||||
semsg(_(e_could_not_load_library_function_str), thunk->name);
|
||||
return FAIL;
|
||||
}
|
||||
}
|
||||
@@ -703,7 +703,7 @@ mzscheme_runtime_link_init(char *sch_dll, char *gc_dll, int verbose)
|
||||
FreeLibrary(hMzGC);
|
||||
hMzGC = 0;
|
||||
if (verbose)
|
||||
semsg(_(e_loadfunc), thunk->name);
|
||||
semsg(_(e_could_not_load_library_function_str), thunk->name);
|
||||
return FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user