Sdl12-compat: simplified os/2 LibMain()

From c90db8fa8052242a8e103cb75436418f204089d2 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 21 Feb 2021 14:56:50 +0300
Subject: [PATCH] simplified os/2 LibMain()

---
 src/SDL12_compat.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index e0f9494..c4ba2fb 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -902,9 +902,8 @@ unsigned _System LibMain(unsigned hmod, unsigned termination)
     if (termination) {
         UnloadSDL20();
     } else if (!LoadSDL20()) {
-        fprintf(stderr, "ERROR: sdl12-compat failed to load SDL 2.0! Aborting!\n");
-        fflush(stderr);
-        abort();
+        fprintf(stderr, "ERROR: SDL12-compat failed to load SDL2.dll\n");
+        return 0;
     }
     return 1;
 }