mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 23:35:41 -04:00
dep/rcheevos: Avoid -1 return in rc_runtime_progress_size()
This commit is contained in:
parent
71c319ccf0
commit
5c94ab9f22
@ -809,7 +809,7 @@ uint32_t rc_runtime_progress_size(const rc_runtime_t* runtime, lua_State* L)
|
|||||||
|
|
||||||
result = rc_runtime_progress_serialize_internal(&progress);
|
result = rc_runtime_progress_serialize_internal(&progress);
|
||||||
if (result != RC_OK)
|
if (result != RC_OK)
|
||||||
return result;
|
return 0;
|
||||||
|
|
||||||
return progress.offset;
|
return progress.offset;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user