comparison src/os_mswin.c @ 29128:d8a962d7b008 v8.2.5084

patch 8.2.5084: when the GUI shows a dialog tests get stuck Commit: https://github.com/vim/vim/commit/2d12c25a1b73fb6991006fd970b3132ab8ee8b62 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 13 21:42:45 2022 +0100 patch 8.2.5084: when the GUI shows a dialog tests get stuck Problem: When the GUI shows a dialog tests get stuck. Solution: Add the --gui-dialog-file argument.
author Bram Moolenaar <Bram@vim.org>
date Mon, 13 Jun 2022 22:45:06 +0200
parents d2ef7d649fcb
children 247a6d944401
comparison
equal deleted inserted replaced
29127:a6e64a2231b5 29128:d8a962d7b008
674 { 674 {
675 // avoid putting up a message box with blanks only 675 // avoid putting up a message box with blanks only
676 for (p = (char *)error_ga.ga_data; *p; ++p) 676 for (p = (char *)error_ga.ga_data; *p; ++p)
677 if (!isspace(*p)) 677 if (!isspace(*p))
678 { 678 {
679 (void)gui_mch_dialog( 679 // Only use a dialog when not using --gui-dialog-file:
680 // write text to a file.
681 if (!gui_dialog_log((char_u *)"Errors", p))
682 (void)gui_mch_dialog(
680 gui.starting ? VIM_INFO : 683 gui.starting ? VIM_INFO :
681 VIM_ERROR, 684 VIM_ERROR,
682 gui.starting ? (char_u *)_("Message") : 685 gui.starting ? (char_u *)_("Message") :
683 (char_u *)_("Error"), 686 (char_u *)_("Error"),
684 (char_u *)p, (char_u *)_("&Ok"), 687 (char_u *)p, (char_u *)_("&Ok"),