]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix an always-false if statement which was causing the window border
authorSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:45:48 +0000 (10:45 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:45:48 +0000 (10:45 +0000)
not to be redrawn when the user reconfigured the background colour.

[originally from svn r9917]

unix/gtkwin.c

index ec5f7722bd22fffcc23a6414eb62b3d9b6264268..4a1df45d5721ff75e893c6f97e296266fa8cd965 100644 (file)
@@ -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);
                }