summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-06-16 22:29:57 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-17 16:18:30 +0200
commit357af686dc5e0a0085da5c42639abe83caebe6c3 (patch)
tree5a03eeaaa6abcd58809caae08e14deadf64b561a /src/video
parentf904aef176b7bde38f27cc9b4f23c55dc13d2ce5 (diff)
downloadopenttd-357af686dc5e0a0085da5c42639abe83caebe6c3.tar.xz
Cleanup: use true/false instead of 1/0 where applicable
Diffstat (limited to 'src/video')
-rw-r--r--src/video/opengl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/opengl.cpp b/src/video/opengl.cpp
index 2014d1cf9..6e37db03b 100644
--- a/src/video/opengl.cpp
+++ b/src/video/opengl.cpp
@@ -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;