Corrected example code in the docs (thanks, Olivier!).
authorRyan C. Gordon <icculus@icculus.org>
Sun, 02 Nov 2008 15:26:14 -0500
changeset 944 4a814e7fee5d
parent 943 5df593de06e2
child 945 f04c6b9a2f24
Corrected example code in the docs (thanks, Olivier!).
CHANGELOG.txt
physfs.h
--- a/CHANGELOG.txt	Sun Nov 02 15:22:02 2008 -0500
+++ b/CHANGELOG.txt	Sun Nov 02 15:26:14 2008 -0500
@@ -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
--- a/physfs.h	Sun Nov 02 15:22:02 2008 -0500
+++ b/physfs.h	Sun Nov 02 15:26:14 2008 -0500
@@ -531,7 +531,7 @@
  * for (i = PHYSFS_supportedArchiveTypes(); *i != NULL; i++)
  * {
  *     printf("Supported archive: [%s], which is [%s].\n",
- *              i->extension, i->description);
+ *              (*i)->extension, (*i)->description);
  * }
  * \endcode
  *