sdl12-compat: silence a Watcom C++ W687 warning

From e1c4dbfa9a171e4743a8f7135d58be228dff2b4a Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 24 Jan 2026 10:33:02 +0300
Subject: [PATCH] silence a Watcom C++ W687 warning

SDL12_compat.c(1171): Warning! W687: col(20) expression for 'while' is always true
---
 src/SDL12_compat.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 9e35e19c1..7a9c1ba68 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -1168,11 +1168,12 @@ static int SDL12COMPAT_strlen(const char *str)
 /* you can use SDL20_strcmp once we're past startup. */
 static SDL_bool SDL12COMPAT_strequal(const char *a, const char *b)
 {
-    while (SDL_TRUE) {
+    for ( ;; ) {
         const char cha = *a;
         if (cha != *b) {
             return SDL_FALSE;
-        } else if (!cha) {
+        }
+        if (!cha) {
             break;
         }
         a++;