diff options
Diffstat (limited to 'src/im_lib.cpp')
-rw-r--r-- | src/im_lib.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/im_lib.cpp b/src/im_lib.cpp index 66ded68..1c81536 100644 --- a/src/im_lib.cpp +++ b/src/im_lib.cpp @@ -2,7 +2,7 @@ * \brief Library Management * * See Copyright Notice in im_lib.h - * $Id: im_lib.cpp,v 1.1 2008/10/17 06:10:16 scuri Exp $ + * $Id: im_lib.cpp,v 1.2 2008/12/11 19:02:49 scuri Exp $ */ #include <stdlib.h> @@ -10,17 +10,21 @@ #include "im_lib.h" -static char *iVersion = "TECVERID.str:IM:LIB:"IM_VERSION; +/* This appears only here to avoid changing the iup.h header fo bug fixes */ +#define IM_VERSION_FIX "" +#define IM_VERSION_FIX_NUMBER 0 + +static char *iVersion = "TECVERID.str:IM:LIB:" IM_VERSION IM_VERSION_FIX; const char iIdent[] = - "$IM: " IM_VERSION " " IM_COPYRIGHT " $\n" + "$IM: " IM_VERSION IM_VERSION_FIX " " IM_COPYRIGHT " $\n" "$URL: www.tecgraf.puc-rio.br/im $\n"; const char* imVersion(void) { (void)iVersion; (void)iIdent; - return IM_VERSION; + return IM_VERSION IM_VERSION_FIX; } const char* imVersionDate(void) @@ -30,5 +34,5 @@ const char* imVersionDate(void) int imVersionNumber(void) { - return IM_VERSION_NUMBER; + return IM_VERSION_NUMBER+IM_VERSION_FIX_NUMBER; } |