From: jacob Date: Tue, 30 Nov 2004 01:07:29 +0000 (+0000) Subject: Another default-background fix for 256-colour mode X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/037bd3d34c9de955b97abe03a63eea082627af3d Another default-background fix for 256-colour mode git-svn-id: svn://svn.tartarus.org/sgt/putty@4931 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/pterm.c b/unix/pterm.c index 2c8d9e15..526e4941 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -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);