summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index f2a6c905b..f5c4abf4a 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -595,11 +595,16 @@ display_errors()
#endif
STRCPY(s, _("...(truncated)"));
}
+
+ (void)gui_mch_dialog(VIM_ERROR, (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);