mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 19:42:48 -05:00
Make connection_fatal() nonmodal.
This change requires me to break up the general cleanups in delete_inst() into two halves: one runs when the error message box is created, and cleans up the network connection and all the stuff associated with it, and the other runs when the error message is dismissed and the window can actually close.
This commit is contained in:
@ -3691,13 +3691,6 @@ void old_keyfile_warning(void)
|
||||
*/
|
||||
}
|
||||
|
||||
void fatal_message_box(void *window, const char *msg)
|
||||
{
|
||||
message_box(window, "PuTTY Fatal Error", msg,
|
||||
string_width("REASONABLY LONG LINE OF TEXT FOR BASIC SANITY"),
|
||||
FALSE, &buttons_ok);
|
||||
}
|
||||
|
||||
void nonfatal_message_box(void *window, const char *msg)
|
||||
{
|
||||
char *title = dupcat(appname, " Error", NULL);
|
||||
|
Reference in New Issue
Block a user