mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 06:13:10 +00:00
Update rtext.c
This commit is contained in:
parent
f21c1cc6ae
commit
265fa7833c
@ -1891,6 +1891,7 @@ void TextAppend(char *text, const char *append, int *position)
|
||||
int TextFindIndex(const char *text, const char *search)
|
||||
{
|
||||
int position = -1;
|
||||
if (text == NULL) return position;
|
||||
|
||||
char *ptr = (char *)strstr(text, search);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user