SDL-1.2: atari: fix Atari_SysMalloc()

From bd43749bd57b4abcd4f3e06d491751ab6037f9a2 Mon Sep 17 00:00:00 2001
From: Miro Kropacek <[EMAIL REDACTED]>
Date: Sun, 10 Sep 2023 17:56:09 +0200
Subject: [PATCH] atari: fix Atari_SysMalloc()

See also https://github.com/pmandin/cleancode/issues/2 (where it was fixed in a different way)
---
 src/video/ataricommon/SDL_atarimxalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/ataricommon/SDL_atarimxalloc.c b/src/video/ataricommon/SDL_atarimxalloc.c
index 44b4eab09..4d4cae076 100644
--- a/src/video/ataricommon/SDL_atarimxalloc.c
+++ b/src/video/ataricommon/SDL_atarimxalloc.c
@@ -41,7 +41,7 @@ void *Atari_SysMalloc(Uint32 size, Uint16 alloc_type)
 {
 	/* Test if Mxalloc() available */
 	if (atari_mxalloc_avail<0) {
-		atari_mxalloc_avail = ((Sversion()&0xFF)>=0x01) | (Sversion()>=0x1900);
+		atari_mxalloc_avail = ((Sversion()&0xFF)>=0x01) || (Sversion()>=0x1900);
 	}
 
 	if (atari_mxalloc_avail) {