summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-07-21 11:33:55 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-07-21 11:33:55 +0000
commit4ff22c67df940cdf6bd635e27ae07db0f3737b21 (patch)
tree85b1ca023e02c64e220dd82ad1115f7e060c0c8e /render
parent2565a37a52a5c714e7c6bbd1808db0d6d37c6ea3 (diff)
downloadnetsurf-4ff22c67df940cdf6bd635e27ae07db0f3737b21.tar.gz
netsurf-4ff22c67df940cdf6bd635e27ae07db0f3737b21.tar.bz2
Fix render colour of selected text.
svn path=/trunk/netsurf/; revision=8642
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 64fc6066b..309b81332 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -894,10 +894,10 @@ bool text_redraw(const char *utf8_text, size_t utf8_len,
}
}
- fstyle_hback.background =
- pstyle_fill_hback->fill_colour ^ 0xffffff;
- fstyle_hback.foreground =
+ fstyle_hback.background =
pstyle_fill_hback->fill_colour;
+ fstyle_hback.foreground =
+ pstyle_fill_hback->fill_colour ^ 0xffffff;
if (text_visible &&
!plot.text(x, y + (int) (height * 0.75 * scale),