From 561dff34469f365d11db6cdc8f283fda6cd320a1 Mon Sep 17 00:00:00 2001
From: David Gow <[EMAIL REDACTED]>
Date: Sun, 20 Jun 2021 17:01:10 +0800
Subject: [PATCH] testloadso: Actually return an error if one occurs
cherry-picked from https://github.com/libsdl-org/sdl12-compat/commit/d7ce2ec90fc2482c3e60c1c84bc59c864805450c
---
test/testloadso.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/testloadso.c b/test/testloadso.c
index 39c14c69f..802a50814 100644
--- a/test/testloadso.c
+++ b/test/testloadso.c
@@ -65,7 +65,7 @@ int main(int argc, char *argv[])
SDL_UnloadObject(lib);
}
SDL_Quit();
- return(0);
+ return retval;
}