summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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] = ' ';