summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/render/textplain.c b/render/textplain.c
index a394b8251..6ec2f2521 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -104,7 +104,8 @@ static void textplain_reformat(struct content *c, int width, int height);
static void textplain_destroy(struct content *c);
static bool textplain_redraw(struct content *c, int x, int y,
int width, int height, const struct rect *clip,
- float scale, colour background_colour);
+ float scale, colour background_colour,
+ bool redraw_x, bool redraw_y);
static nserror textplain_clone(const struct content *old,
struct content **newc);
static content_type textplain_content_type(lwc_string *mime_type);
@@ -131,7 +132,6 @@ static const content_handler textplain_content_handler = {
textplain_redraw,
NULL,
NULL,
- NULL,
textplain_clone,
NULL,
textplain_content_type,
@@ -687,7 +687,8 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw,
bool textplain_redraw(struct content *c, int x, int y,
int width, int height, const struct rect *clip,
- float scale, colour background_colour)
+ float scale, colour background_colour,
+ bool repeat_x, bool repeat_y)
{
textplain_content *text = (textplain_content *) c;
struct browser_window *bw = current_redraw_browser;