diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4781508..c391303 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/physfs.h b/physfs.h index f33ac1f..f441628 100644 --- a/physfs.h +++ b/physfs.h @@ -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 *