https://bugs.gentoo.org/739092 --- a/JLib/JLib/Util/JTextFile.cpp +++ b/JLib/JLib/Util/JTextFile.cpp @@ -145,7 +145,7 @@ bool JTextFile::FindNext(const s8 *str, bool jump) tmp = strstr(ptr, str); - if (tmp > 0) + if (tmp) ptr = tmp; else { @@ -153,7 +153,7 @@ bool JTextFile::FindNext(const s8 *str, bool jump) { tmp = strstr(buff, str); - if (tmp > 0) + if (tmp) ptr = tmp; else return false; @@ -233,7 +233,7 @@ bool JTextFile::ReadQuotedWord(s8 *str) ++ptr; end = ptr; - if (0 >= (end = strstr(ptr, "\""))) + if ((end = strstr(ptr, "\"")) == NULL) { // No hay comillas de cierre ptr = org;