0
0
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:
Bram Moolenaar
2005-02-05 21:35:05 +00:00
parent 758711c5dc
commit 8089cae03b

View File

@@ -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);