Skip to content

Commit

Permalink
Corrected example code for PHYSFS_enumerate in physfs.h
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 25, 2019
1 parent 19ea591 commit 56aaae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/physfs.h
Expand Up @@ -2702,10 +2702,10 @@ typedef PHYSFS_EnumerateCallbackResult (*PHYSFS_EnumerateCallback)(void *data,
*
* \code
*
* static int printDir(void *data, const char *origdir, const char *fname)
* static PHYSFS_EnumerateCallbackResult printDir(void *data, const char *origdir, const char *fname)
* {
* printf(" * We've got [%s] in [%s].\n", fname, origdir);
* return 1; // give me more data, please.
* return PHYSFS_ENUM_OK; // give me more data, please.
* }
*
* // ...
Expand Down

0 comments on commit 56aaae4

Please sign in to comment.