From e0861a2cd03945306c2be0a48a7d0100bb3179d6 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 23 Jan 2009 20:50:58 +0000 Subject: [PATCH] Missed a reverse. --- window-copy.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/window-copy.c b/window-copy.c index f8815551..93733b61 100644 --- a/window-copy.c +++ b/window-copy.c @@ -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 @@ -320,8 +320,9 @@ window_copy_update_selection(struct window_pane *wp) /* Set colours. */ 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-bg"); + gc.bg = options_get_number(&wp->window->options, "mode-fg"); + gc.fg = options_get_number(&wp->window->options, "mode-bg"); + gc.attr |= GRID_ATTR_REVERSE; /* Find top-left of screen. */ tx = data->ox;