X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/d72da0cb39c19acbe1654c0c417808088e2d271f..7dc9a22ee27a65871bac1166d811d8dbb818fe45:/unix/gtkwin.c 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); }