mirror of
https://github.com/encounter/SDL.git
synced 2025-12-12 14:46:19 +00:00
os2: fix error message for SDL_LoadObject()
This commit is contained in:
@@ -49,7 +49,7 @@ SDL_LoadObject(const char *sofile)
|
||||
ulRC = DosLoadModule(acError, sizeof(acError), pszModName, &hModule);
|
||||
SDL_free(pszModName);
|
||||
if (ulRC != NO_ERROR) {
|
||||
SDL_SetError("Failed loading %s (E%u)", acError, ulRC);
|
||||
SDL_SetError("Failed loading %s: %s (E%u)", sofile, acError, ulRC);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user