Fixed bug in PHYSFS_VERSION macro.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 15 Jul 2001 18:55:03 +0000
changeset 33 313a6bc49a46
parent 32 09a8197fad3b
child 34 86c247b7be8d
Fixed bug in PHYSFS_VERSION macro.
physfs.h
--- a/physfs.h	Sun Jul 15 09:29:30 2001 +0000
+++ b/physfs.h	Sun Jul 15 18:55:03 2001 +0000
@@ -170,9 +170,9 @@
 #define PHYSFS_VER_PATCH 0
 
 #define PHYSFS_VERSION(x) { \
-                            x->major = PHYSFS_VER_MAJOR; \
-                            x->minor = PHYSFS_VER_MINOR; \
-                            x->patch = PHYSFS_VER_PATCH; \
+                            (x)->major = PHYSFS_VER_MAJOR; \
+                            (x)->minor = PHYSFS_VER_MINOR; \
+                            (x)->patch = PHYSFS_VER_PATCH; \
                           }
 
 /**