summaryrefslogtreecommitdiff
path: root/src/im_lib.cpp
diff options
context:
space:
mode:
authorscuri <scuri>2008-12-11 19:02:48 +0000
committerscuri <scuri>2008-12-11 19:02:48 +0000
commitfee5e32e65d788746fcad1b48efe581b1cb3d441 (patch)
tree686e24446edd51321b20d2426c49aa673e256eaf /src/im_lib.cpp
parent133649287d935bae0b64a938c2c5b540add18e11 (diff)
*** empty log message ***
Diffstat (limited to 'src/im_lib.cpp')
-rw-r--r--src/im_lib.cpp14
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;
}