SteamAPI_ISteamRemoteStorage_FileWrite() returns bool

This commit is contained in:
Sam Lantinga committed 2025-12-06 09:44:04 -08:00
1 parent ab67be7e5a
commit 6602f12744
1 file changed
+1 -1
+1 -1
View File
@@ -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");