summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-02-20 02:29:19 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2006-02-20 02:29:19 +0000
commitb6c6d7777277caf99ade1389c180f4a428b4a1c6 (patch)
tree9bd74ea13300a545701652727554c71c523586c9 /render
parent5ce5fe084c733c95544825e35bcd63cc775aee94 (diff)
downloadnetsurf-b6c6d7777277caf99ade1389c180f4a428b4a1c6.tar.gz
netsurf-b6c6d7777277caf99ade1389c180f4a428b4a1c6.tar.bz2
[project @ 2006-02-20 02:29:19 by jmb]
Fix GTK build svn path=/import/netsurf/; revision=2086
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 820a56213..594ccdf61 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -36,7 +36,7 @@ static bool html_redraw_text_box(struct box *box, int x, int y,
int x0, int y0, int x1, int y1,
float scale, colour current_background_color);
static bool html_redraw_caret(struct caret *caret,
- os_colour current_background_color, float scale);
+ colour current_background_color, float scale);
static bool html_redraw_borders(struct box *box, int x_parent, int y_parent,
int padding_width, int padding_height, float scale);
static bool html_redraw_border_plot(int i, int *p, colour c,
@@ -562,10 +562,10 @@ bool text_redraw(const char *utf8_text, size_t utf8_len,
* \return true iff successful and redraw should proceed
*/
-bool html_redraw_caret(struct caret *c, os_colour current_background_color,
+bool html_redraw_caret(struct caret *c, colour current_background_color,
float scale)
{
- os_colour caret_color = 0x808080; /* todo - choose a proper colour */
+ colour caret_color = 0x808080; /* todo - choose a proper colour */
int xc = c->x, y = c->y;
int h = c->height - 1;
int w = (h + 7) / 8;