summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-10-03 17:20:57 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-10-03 17:20:57 +0100
commit5a2212fda6332980f351a8d8ca03f7d79d8c9712 (patch)
tree70b7c8483d46d19dc37a480f174ec8daae4560cd /render
parent391defb1c4cff592aa228ced1c6278d30ea31030 (diff)
downloadnetsurf-5a2212fda6332980f351a8d8ca03f7d79d8c9712.tar.gz
netsurf-5a2212fda6332980f351a8d8ca03f7d79d8c9712.tar.bz2
Variable already existed.
Diffstat (limited to 'render')
-rw-r--r--render/box_construct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 7732f4445..23896717f 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -1283,7 +1283,7 @@ bool box_construct_text(struct box_construct_ctx *ctx)
text[text_len] = '\0';
/* TODO: Handle tabs properly */
- for (int i = 0; i < text_len; i++)
+ for (i = 0; i < text_len; i++)
if (text[i] == '\t')
text[i] = ' ';