Corrected example code in the docs (thanks, Olivier!).

This commit is contained in:
Ryan C. Gordon 2008-11-02 15:26:14 -05:00
parent 2651eb2eb9
commit 2f3ba7602b
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,8 @@
*/
11022008 - iPhone support (thanks, Christian!). Added struct typedefs that
are friendlier to predeclaring.
are friendlier to predeclaring and fixed example in docs (thanks,
Olivier!).
04032008 - Fixed PHYSFS_openAppend() to work as documented on Unix.
03122008 - Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
03102008 - Changed some text files from ISO-8859-1 to UTF-8. Replaced all the

View File

@ -531,7 +531,7 @@ __EXPORT__ int PHYSFS_deinit(void);
* for (i = PHYSFS_supportedArchiveTypes(); *i != NULL; i++)
* {
* printf("Supported archive: [%s], which is [%s].\n",
* i->extension, i->description);
* (*i)->extension, (*i)->description);
* }
* \endcode
*