Luke Krasnoff
преди 4 години
committed by
GitHub
родител
ревизия
8ec5b2dc2f
No known key found for this signature in database
GPG ключ ID: 4AEE18F83AFDEB23
променени са
1 файла, в които са
добавени 4 реда и са
изтрити 0 реда
-
src/rtext.c
|
|
@ -1142,6 +1142,10 @@ bool TextIsEqual(const char *text1, const char *text2) |
|
|
|
{ |
|
|
|
bool result = false; |
|
|
|
|
|
|
|
if (text1 == NULL || text2 == NULL) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
if (strcmp(text1, text2) == 0) result = true; |
|
|
|
|
|
|
|
return result; |
|
|
|