mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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)
|
for (p = (char *)error_ga.ga_data; *p; ++p)
|
||||||
if (!isspace(*p))
|
if (!isspace(*p))
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
/* Truncate a very long message, it will go off-screen. */
|
/* Truncate a very long message, it will go off-screen. */
|
||||||
if (STRLEN(p) > 2000)
|
if (STRLEN(p) > 2000)
|
||||||
{
|
{
|
||||||
@@ -595,6 +596,7 @@ display_errors()
|
|||||||
#endif
|
#endif
|
||||||
STRCPY(s, _("...(truncated)"));
|
STRCPY(s, _("...(truncated)"));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
(void)gui_mch_dialog(VIM_ERROR, (char_u *)_("Error"),
|
(void)gui_mch_dialog(VIM_ERROR, (char_u *)_("Error"),
|
||||||
p, (char_u *)_("&Ok"), 1, NULL);
|
p, (char_u *)_("&Ok"), 1, NULL);
|
||||||
|
Reference in New Issue
Block a user