]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Bah, there's always one thing I miss. Correct the background-colour
authorSimon Tatham <anakin@pobox.com>
Sun, 28 Nov 2004 15:18:23 +0000 (15:18 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 28 Nov 2004 15:18:23 +0000 (15:18 +0000)
handling in Unix PuTTY.

[originally from svn r4918]

unix/pterm.c

index 5254bf374e0ade062ec5ec6ecfe8189c4f99a2dc..2c8d9e155fc26d2be515c61b9e189e202070f0a8 100644 (file)
@@ -1331,9 +1331,9 @@ static void real_palette_set(struct gui_data *inst, int n, int r, int g, int b)
 void set_window_background(struct gui_data *inst)
 {
     if (inst->area && inst->area->window)
-       gdk_window_set_background(inst->area->window, &inst->cols[18]);
+       gdk_window_set_background(inst->area->window, &inst->cols[258]);
     if (inst->window && inst->window->window)
-       gdk_window_set_background(inst->window->window, &inst->cols[18]);
+       gdk_window_set_background(inst->window->window, &inst->cols[258]);
 }
 
 void palette_set(void *frontend, int n, int r, int g, int b)