Diff

Differences From Artifact [b8e3840090]:

To Artifact [753be676a0]:


440
441
442
443
444
445
446
447



448
449
450
451
452
453
454
440
441
442
443
444
445
446

447
448
449
450
451
452
453
454
455
456







-
+
+
+







    {
	char *error;
	char msg[1024], *title;
	char *realhost;

	error = back->init (cfg.host, cfg.port, &realhost);
	if (error) {
	    sprintf(msg, "Unable to open connection:\n%s", error);
	    sprintf(msg, "Unable to open connection to\n"
		    "%.800s\n"
		    "%s", cfg.host, error);
	    MessageBox(NULL, msg, "PuTTY Error", MB_ICONERROR | MB_OK);
	    return 0;
	}
	window_name = icon_name = NULL;
        if (*cfg.wintitle) {
            title = cfg.wintitle;
        } else {