aboutsummaryrefslogtreecommitdiff
path: root/archived/wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'archived/wrap.c')
-rw-r--r--archived/wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archived/wrap.c b/archived/wrap.c
index 57506b8..2317c6e 100644
--- a/archived/wrap.c
+++ b/archived/wrap.c
@@ -33,7 +33,7 @@ wrap(u8* Text, u32 Len, u32 XLimit, u32 YLimit)
// break
t = Text[X];
- *(Text + X) = '\0';
+ Text[X] = '\0';
tb_printf(0, Y, 0, 0, "%s", Text + PrevX);
Text[X] = t;
Y++;