aboutsummaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index 6d55fa8d..3f8e22b1 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1394,7 +1394,7 @@ char *TextToUtf8(int *codepoints, int length)
}
// Resize memory to text length + string NULL terminator
- realloc(text, size + 1);
+ text = realloc(text, size + 1);
return text;
}