Corrected documentation for SDL_rwops::read()

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403515
This commit is contained in:
Ryan C. Gordon 2009-01-30 01:40:44 +00:00
parent c2c1b45685
commit 10fcf368c7

View file

@ -45,7 +45,7 @@ typedef struct SDL_RWops {
*/ */
int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence); int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence);
/* Read up to 'num' objects each of size 'objsize' from the data /* Read up to 'maxnum' objects each of size 'size' from the data
source to the area pointed at by 'ptr'. source to the area pointed at by 'ptr'.
Returns the number of objects read, or -1 if the read failed. Returns the number of objects read, or -1 if the read failed.
*/ */