Fixed bug in PHYSFS_VERSION macro.

This commit is contained in:
Ryan C. Gordon 2001-07-15 18:55:03 +00:00
parent 0ddd2b1f6d
commit 91ce826b1e
1 changed files with 3 additions and 3 deletions

View File

@ -170,9 +170,9 @@ typedef struct __PHYSFS_VERSION__
#define PHYSFS_VER_PATCH 0 #define PHYSFS_VER_PATCH 0
#define PHYSFS_VERSION(x) { \ #define PHYSFS_VERSION(x) { \
x->major = PHYSFS_VER_MAJOR; \ (x)->major = PHYSFS_VER_MAJOR; \
x->minor = PHYSFS_VER_MINOR; \ (x)->minor = PHYSFS_VER_MINOR; \
x->patch = PHYSFS_VER_PATCH; \ (x)->patch = PHYSFS_VER_PATCH; \
} }
/** /**