From 7dc9a22ee27a65871bac1166d811d8dbb818fe45 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 14 Jul 2013 10:45:48 +0000 Subject: [PATCH] Fix an always-false if statement which was causing the window border not to be redrawn when the user reconfigured the background colour. git-svn-id: svn://svn.tartarus.org/sgt/putty@9917 cda61777-01e9-0310-a592-d414129be87e --- unix/gtkwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.11.0