# HG changeset patch # User Ryan C. Gordon # Date 995223303 0 # Node ID 313a6bc49a460a8f5572150728efe0e67e622ef4 # Parent 09a8197fad3b1ff85d9d3ade98f60a67020a45d0 Fixed bug in PHYSFS_VERSION macro. diff -r 09a8197fad3b -r 313a6bc49a46 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; \ } /**