# HG changeset patch # User Ryan C. Gordon # Date 1233279644 0 # Node ID bd91db0b0b5d1e56a88eb5d52779891f7c1d964e # Parent ef781fa0022323aeb6c97fc2aee78c6c9cf1c430 Corrected documentation for SDL_rwops::read() diff -r ef781fa00223 -r bd91db0b0b5d include/SDL_rwops.h --- a/include/SDL_rwops.h Thu Jan 15 22:16:04 2009 +0000 +++ b/include/SDL_rwops.h Fri Jan 30 01:40:44 2009 +0000 @@ -45,7 +45,7 @@ */ 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'. Returns the number of objects read, or -1 if the read failed. */