summaryrefslogtreecommitdiffhomepage
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 2627e99e..2276c081 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1325,7 +1325,7 @@ char *TextReplace(char *text, const char *replace, const char *by)
char *TextInsert(const char *text, const char *insert, int position)
{
int textLen = TextLength(text);
- int insertLen = TextLength(insert);
+ int insertLen = TextLength(insert);
char *result = (char *)RL_MALLOC(textLen + insertLen + 1);