Skip to content
Permalink
Browse files
Corrected example code for PHYSFS_enumerate in physfs.h
  • Loading branch information
icculus committed Aug 25, 2019
1 parent 19ea591 commit 56aaae494912b38a77a4c71155cb33351a07bb40
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/physfs.h
@@ -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.
* }
*
* // ...

0 comments on commit 56aaae4

Please sign in to comment.