From fee5e32e65d788746fcad1b48efe581b1cb3d441 Mon Sep 17 00:00:00 2001 From: scuri Date: Thu, 11 Dec 2008 19:02:48 +0000 Subject: *** empty log message *** --- src/im_lib.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/im_lib.cpp') 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 @@ -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; } -- cgit v1.2.3