summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/html.h2
-rw-r--r--render/html_redraw.c2
-rw-r--r--render/textplain.c2
-rw-r--r--render/textplain.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/render/html.h b/render/html.h
index 574205f32..f1ab9d86d 100644
--- a/render/html.h
+++ b/render/html.h
@@ -189,7 +189,7 @@ void html_close(struct content *c);
bool html_redraw(struct content *c, int x, int y,
int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
- float scale, unsigned long background_colour);
+ float scale, colour background_colour);
/* redraw a short text string, complete with highlighting
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 5d9263983..72ba53dc3 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -113,7 +113,7 @@ bool html_redraw_debug = false;
bool html_redraw(struct content *c, int x, int y,
int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
- float scale, unsigned long background_colour)
+ float scale, colour background_colour)
{
struct box *box;
bool result, want_knockout;
diff --git a/render/textplain.c b/render/textplain.c
index 9503b3dad..a5a148617 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -326,7 +326,7 @@ void textplain_destroy(struct content *c)
bool textplain_redraw(struct content *c, int x, int y,
int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
- float scale, unsigned long background_colour)
+ float scale, colour background_colour)
{
struct browser_window *bw = current_redraw_browser;
char *utf8_data = c->data.textplain.utf8_data;
diff --git a/render/textplain.h b/render/textplain.h
index ec7162765..972405fe6 100644
--- a/render/textplain.h
+++ b/render/textplain.h
@@ -54,7 +54,7 @@ void textplain_destroy(struct content *c);
bool textplain_redraw(struct content *c, int x, int y,
int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
- float scale, unsigned long background_colour);
+ float scale, colour background_colour);
/* access to lines for text selection and searching */
#define textplain_line_count(c) ((c)->data.textplain.physical_line_count)