mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0048
This commit is contained in:
@@ -584,6 +584,7 @@ display_errors()
|
||||
for (p = (char *)error_ga.ga_data; *p; ++p)
|
||||
if (!isspace(*p))
|
||||
{
|
||||
#if 0
|
||||
/* Truncate a very long message, it will go off-screen. */
|
||||
if (STRLEN(p) > 2000)
|
||||
{
|
||||
@@ -595,6 +596,7 @@ display_errors()
|
||||
#endif
|
||||
STRCPY(s, _("...(truncated)"));
|
||||
}
|
||||
#endif
|
||||
|
||||
(void)gui_mch_dialog(VIM_ERROR, (char_u *)_("Error"),
|
||||
p, (char_u *)_("&Ok"), 1, NULL);
|
||||
|
Reference in New Issue
Block a user