Diff

Differences From Artifact [42c05c651f]:

To Artifact [5503c78bf8]:


1167
1168
1169
1170
1171
1172
1173

1174
1175


1176
1177
1178
1179
1180
1181
1182
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185







+


+
+







		    sfree(cl);
	    }
	    break;
          case IDM_RECONF:
            {
                int prev_alwaysontop = cfg.alwaysontop;
		int need_setwpos = FALSE;
		int old_fwidth, old_fheight;
		cfg.width = cols;
		cfg.height = rows;
		old_fwidth = font_width;
		old_fheight = font_height;
                if (!do_reconfig(hwnd))
                    break;
                just_reconfigged = TRUE;
                {
                    int i;
                    for (i=0; i<8; i++)
                        if (fonts[i])
1246
1247
1248
1249
1250
1251
1252


1253
1254
1255
1256
1257
1258
1259
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264







+
+







                        extra_width = wr.right - wr.left - cr.right + cr.left;
                        extra_height = wr.bottom - wr.top - cr.bottom + cr.top;
                    }
                }

		if (cfg.height != rows ||
		    cfg.width != cols ||
		    old_fwidth != font_width ||
		    old_fheight != font_height ||
		    cfg.savelines != savelines)
		    need_setwpos = TRUE;
                term_size(cfg.height, cfg.width, cfg.savelines);
                InvalidateRect(hwnd, NULL, TRUE);
                if (need_setwpos) {
		    force_normal(hwnd);
		    SetWindowPos (hwnd, NULL, 0, 0,