Missed a reverse.

This commit is contained in:
Nicholas Marriott 2009-01-23 20:50:58 +00:00
parent 6146cab3bd
commit e0861a2cd0

View File

@ -1,4 +1,4 @@
/* $Id: window-copy.c,v 1.43 2009-01-23 20:49:01 nicm Exp $ */ /* $Id: window-copy.c,v 1.44 2009-01-23 20:50:58 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -320,8 +320,9 @@ window_copy_update_selection(struct window_pane *wp)
/* Set colours. */ /* Set colours. */
memcpy(&gc, &grid_default_cell, sizeof gc); memcpy(&gc, &grid_default_cell, sizeof gc);
gc.fg = options_get_number(&wp->window->options, "mode-fg"); gc.bg = options_get_number(&wp->window->options, "mode-fg");
gc.bg = options_get_number(&wp->window->options, "mode-bg"); gc.fg = options_get_number(&wp->window->options, "mode-bg");
gc.attr |= GRID_ATTR_REVERSE;
/* Find top-left of screen. */ /* Find top-left of screen. */
tx = data->ox; tx = data->ox;