From 334789b1fccda9a3f78e342bc0da293c80e27c68 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 2 Dec 2006 22:54:58 +0000 Subject: [PATCH] 2006-12-02 Emmanuele Bassi * clutter/clutter-version.h.in: Fix a stupid logic error in the CHECK_VERSION macro. --- ChangeLog | 5 +++++ clutter/clutter-version.h.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6957e5070..0fbfb115f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-02 Emmanuele Bassi + + * clutter/clutter-version.h.in: Fix a stupid logic + error in the CHECK_VERSION macro. + 2006-11-30 Matthew Allum * clutter.doap: diff --git a/clutter/clutter-version.h.in b/clutter/clutter-version.h.in index 90cdcca4a..35ae54c98 100644 --- a/clutter/clutter-version.h.in +++ b/clutter/clutter-version.h.in @@ -10,8 +10,8 @@ #define CLUTTER_VERSION_HEX 0x@CLUTTER_MAJOR_VERSION@0@CLUTTER_MINOR_VERSION@0@CLUTTER_MICRO_VERSION@ #define CLUTTER_CHECK_VERSION(major,minor,micro) \ - ((CLUTTER_MAJOR_VERSION > (major)) || \ + (CLUTTER_MAJOR_VERSION > (major) || \ (CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \ - (CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) || CLUTTER_MICRO_VERSION > (micro))) + (CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION > (micro))) #endif /* __CLUTTER_VERSION_H__ */