summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-13 20:37:35 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-13 20:37:35 +0000
commit7fc904b610d5739dd7b72fb2f6b0e4b330c97179 (patch)
treea7ea75d0ab26a753f13949e25e08e2c875b37d69 /src/os_mswin.c
parent18144c84231aee36ae1d11b74941c9b318f1706a (diff)
downloadvim-git-7fc904b610d5739dd7b72fb2f6b0e4b330c97179.tar.gz
updated for version 7.0d03v7.0d03
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 50a03a577..d196c869a 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -584,20 +584,6 @@ 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)
- {
- char_u *s = p + 2000 - 14;
-
-#ifdef FEAT_MBYTE
- if (has_mbyte)
- s -= (*mb_head_off)(p, s);
-#endif
- STRCPY(s, _("...(truncated)"));
- }
-#endif
-
(void)gui_mch_dialog(
#ifdef FEAT_GUI
gui.starting ? VIM_INFO :
@@ -608,13 +594,6 @@ display_errors()
#endif
(char_u *)_("Error"),
p, (char_u *)_("&Ok"), 1, NULL);
-#if 0
-#ifdef WIN3264
- MessageBox(NULL, p, "Vim", MB_TASKMODAL|MB_SETFOREGROUND);
-#else
- MessageBox(NULL, p, "Vim", MB_TASKMODAL);
-#endif
-#endif
break;
}
ga_clear(&error_ga);