Diff

Differences From Artifact [0daba08bb0]:

To Artifact [1e7b2a5cc2]:


1179
1180
1181
1182
1183
1184
1185

1186
1187
1188
1189
1190
1191
1192
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193







+








		strcpy(oldlogfile, cfg.logfilename);
		oldlogtype = cfg.logtype;
		cfg.width = cols;
		cfg.height = rows;
		old_fwidth = font_width;
		old_fheight = font_height;
                GetWindowText(hwnd, cfg.wintitle, sizeof(cfg.wintitle));

                if (!do_reconfig(hwnd))
                    break;

		if (strcmp(oldlogfile, cfg.logfilename) ||
		    oldlogtype != cfg.logtype) {
		    logfclose();       /* reset logging */
1278
1279
1280
1281
1282
1283
1284

1285
1286
1287
1288
1289
1290
1291
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293







+







		    force_normal(hwnd);
		    SetWindowPos (hwnd, NULL, 0, 0,
				  extra_width + font_width * cfg.width,
				  extra_height + font_height * cfg.height,
				  SWP_NOACTIVATE | SWP_NOCOPYBITS |
				  SWP_NOMOVE | SWP_NOZORDER);
		}
                set_title(cfg.wintitle);
                if (IsIconic(hwnd)) {
                    SetWindowText (hwnd,
                                   cfg.win_name_always ? window_name : icon_name);
                }
            }
            break;
	  case IDM_COPYALL: