Browse Source

Update rtext.c

pull/5365/head
Ray 2 weeks ago
parent
commit
265fa7833c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/rtext.c

+ 1
- 0
src/rtext.c View File

@ -1891,6 +1891,7 @@ void TextAppend(char *text, const char *append, int *position)
int TextFindIndex(const char *text, const char *search) int TextFindIndex(const char *text, const char *search)
{ {
int position = -1; int position = -1;
if (text == NULL) return position;
char *ptr = (char *)strstr(text, search); char *ptr = (char *)strstr(text, search);

Loading…
Cancel
Save