Skip to content

Commit 6602f12

Browse files
committed
SteamAPI_ISteamRemoteStorage_FileWrite() returns bool
1 parent ab67be7 commit 6602f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/steam/SDL_steamstorage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static bool STEAM_WriteStorageFile(void *userdata, const char *path, const void
121121
if (length > SDL_MAX_SINT32) {
122122
return SDL_SetError("SteamRemoteStorage only supports INT32_MAX write size");
123123
}
124-
if (steam->SteamAPI_ISteamRemoteStorage_FileWrite(steamremotestorage, path, source, (Sint32) length) == length) {
124+
if (steam->SteamAPI_ISteamRemoteStorage_FileWrite(steamremotestorage, path, source, (Sint32)length)) {
125125
result = true;
126126
} else {
127127
SDL_SetError("SteamRemoteStorage()->FileWrite() failed");

0 commit comments

Comments
 (0)