Fix bug 1560 - SDL_RWFromConstMem write operation returns -1 but should return 0.

This commit is contained in:
Andreas Schiffler 2013-03-12 09:10:37 -07:00
parent f25403ba28
commit 6a2bff0cd1
3 changed files with 9 additions and 8 deletions

View file

@ -54,7 +54,7 @@ typedef struct SDL_RWops
* Seek to \c offset relative to \c whence, one of stdio's whence values:
* RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END
*
* \return the final offset in the data stream.
* \return the final offset in the data stream, or -1 on error.
*/
Sint64 (SDLCALL * seek) (struct SDL_RWops * context, Sint64 offset,
int whence);