changeset 10090:5ad2e205f3ab

[gaim-migrate @ 11106] this sucks slightly less, i think committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 12 Oct 2004 21:46:23 +0000
parents 1babd51401c5
children 4e376556566e
files src/version.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.h	Tue Oct 12 15:43:42 2004 +0000
+++ b/src/version.h	Tue Oct 12 21:46:23 2004 +0000
@@ -28,7 +28,7 @@
 #define GAIM_MINOR_VERSION 0
 #define GAIM_MICRO_VERSION 0
 
-#define GAIM_VERSION_CHECK(x,y,z) ((x) == GAIM_MAJOR_VERSION && (y) <= GAIM_MINOR_VERSION && (z) <= GAIM_MICRO_VERSION)
+#define GAIM_VERSION_CHECK(x,y,z) ((x) == GAIM_MAJOR_VERSION && ((y) < GAIM_MINOR_VERSION || ((y) == GAIM_MINOR_VERSION && (z) <= GAIM_MICRO_VERSION))
 
 #ifdef __cplusplus
 extern "C" {