comparison src/gui.c @ 2684:951641b8784d v7.3.102

updated for version 7.3.102 Problem: When using ":make", typing the next command and then getting the "reload" prompt the next command is (partly) eaten by the reload prompt. Solution: Accept ':' as a special character at the reload prompt to accept the default choice and execute the command.
author Bram Moolenaar <bram@vim.org>
date Mon, 17 Jan 2011 20:08:11 +0100
parents 758822790b43
children 8bd38abda314
comparison
equal deleted inserted replaced
2683:0c7d6d01e058 2684:951641b8784d
4901 { 4901 {
4902 /* Truncate a very long message, it will go off-screen. */ 4902 /* Truncate a very long message, it will go off-screen. */
4903 if (STRLEN(p) > 2000) 4903 if (STRLEN(p) > 2000)
4904 STRCPY(p + 2000 - 14, "...(truncated)"); 4904 STRCPY(p + 2000 - 14, "...(truncated)");
4905 (void)do_dialog(VIM_ERROR, (char_u *)_("Error"), 4905 (void)do_dialog(VIM_ERROR, (char_u *)_("Error"),
4906 p, (char_u *)_("&Ok"), 1, NULL); 4906 p, (char_u *)_("&Ok"), 1, NULL, FALSE);
4907 break; 4907 break;
4908 } 4908 }
4909 ga_clear(&error_ga); 4909 ga_clear(&error_ga);
4910 } 4910 }
4911 } 4911 }