From: Simon Tatham Date: Sun, 14 Jul 2013 10:45:48 +0000 (+0000) Subject: Fix an always-false if statement which was causing the window border X-Git-Tag: 0.63~75 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=1662a2f6cf015ff05de76d01e7a80e0e4a5756d0;p=PuTTY.git Fix an always-false if statement which was causing the window border not to be redrawn when the user reconfigured the background colour. [originally from svn r9917] --- diff --git a/unix/gtkwin.c b/unix/gtkwin.c index ec5f7722..4a1df45d 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -3069,7 +3069,7 @@ void change_settings_menuitem(GtkMenuItem *item, gpointer data) * repaint the space in between the window border * and the text area. */ - if (i == 258) { + if (ww[i] == 258) { set_window_background(inst); draw_backing_rect(inst); }