Cleanup: use true/false instead of 1/0 where applicable

This commit is contained in:
Rubidium
2021-06-16 22:29:57 +02:00
committed by rubidium42
parent f904aef176
commit 357af686dc
3 changed files with 3 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ GetOGLProcAddressProc GetOGLProcAddress;
*/
const char *FindStringInExtensionList(const char *string, const char *substring)
{
while (1) {
while (true) {
/* Is the extension string present at all? */
const char *pos = strstr(string, substring);
if (pos == nullptr) break;