summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-01 20:00:41 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-01 20:00:41 +0000
commite3f00b8546f666498633747b8df314c242ef79bc (patch)
tree0d6833c1ccee7dcddb94349737f913f27e58cd5c /render/textplain.c
parent443d02b943841f6506828034731e70c71dabdaa1 (diff)
downloadnetsurf-e3f00b8546f666498633747b8df314c242ef79bc.tar.gz
netsurf-e3f00b8546f666498633747b8df314c242ef79bc.tar.bz2
Cache space widths.
svn path=/trunk/netsurf/; revision=11877
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 0879841fe..3a3ffd184 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -612,7 +612,7 @@ bool textplain_redraw(struct content *c, int x, int y,
next_offset = utf8_next(text, length, next_offset);
if (!text_redraw(text + offset, next_offset - offset,
- line[lineno].start + offset, false,
+ line[lineno].start + offset, 0,
&textplain_style,
tx, y + (lineno * scaled_line_height),
clip, line_height, scale, false))