mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
SteamAPI_ISteamRemoteStorage_FileWrite() returns bool
This commit is contained in:
@@ -121,7 +121,7 @@ static bool STEAM_WriteStorageFile(void *userdata, const char *path, const void
|
||||
if (length > SDL_MAX_SINT32) {
|
||||
return SDL_SetError("SteamRemoteStorage only supports INT32_MAX write size");
|
||||
}
|
||||
if (steam->SteamAPI_ISteamRemoteStorage_FileWrite(steamremotestorage, path, source, (Sint32) length) == length) {
|
||||
if (steam->SteamAPI_ISteamRemoteStorage_FileWrite(steamremotestorage, path, source, (Sint32)length)) {
|
||||
result = true;
|
||||
} else {
|
||||
SDL_SetError("SteamRemoteStorage()->FileWrite() failed");
|
||||
|
||||
Reference in New Issue
Block a user