]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/pterm.c
Another default-background fix for 256-colour mode
[PuTTY.git] / unix / pterm.c
index 2c8d9e155fc26d2be515c61b9e189e202070f0a8..526e4941195803a93dd9af2f52ecdb95c70e5be2 100644 (file)
@@ -386,7 +386,7 @@ static void show_mouseptr(struct gui_data *inst, int show)
 void draw_backing_rect(struct gui_data *inst)
 {
     GdkGC *gc = gdk_gc_new(inst->area->window);
-    gdk_gc_set_foreground(gc, &inst->cols[18]);   /* default background */
+    gdk_gc_set_foreground(gc, &inst->cols[258]);    /* default background */
     gdk_draw_rectangle(inst->pixmap, gc, 1, 0, 0,
                       inst->cfg.width * inst->font_width + 2*inst->cfg.window_border,
                       inst->cfg.height * inst->font_height + 2*inst->cfg.window_border);