>From 9b5aa3344bff76ebbaba1618f63ca91122f270c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Tue, 20 Aug 2012 20:30:46 +0200
Subject: [PATCH 05/12] wmbutton: Version simplification
This patch is based in the code wrote by Christian Aichinger
for the Debian distribution.
The patch simplify the version number in the code.
---
wmbutton/wmb_libs.c | 2 +-
wmbutton/wmbutton.h | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/wmbutton/wmb_libs.c b/wmbutton/wmb_libs.c
index 3661f03..0d8daad 100644
--- a/wmbutton/wmb_libs.c
+++ b/wmbutton/wmb_libs.c
@@ -107,7 +107,7 @@ void show_usage() {
fprintf(stderr,"usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
"[-F <font>] [-v] [-s] [-n]\n",app_name);
fprintf(stderr,"\n");
- fprintf(stderr," wmbutton Ver %d Rel %d\n",VER,REL);
+ fprintf(stderr," wmbutton version %s\n", VER_STR);
fprintf(stderr,"\n");
fprintf(stderr,"-g <geometry> Window Geometry - ie: 64x64+10+10\n");
fprintf(stderr,"-d <display> Display - ie: 127.0.0.1:0.0\n");
diff --git a/wmbutton/wmbutton.h b/wmbutton/wmbutton.h
index 1b99abf..ebf62ff 100644
--- a/wmbutton/wmbutton.h
+++ b/wmbutton/wmbutton.h
@@ -20,8 +20,7 @@
#define BUTTONFILENAME "/.wmbutton.xpm"
/****** Version Number *************************************************/
-#define VER 0 /* Version Number */
-#define REL 6 /* Release Number */
+#define VER_STR "0.6.1" /* Version Number String */
/****** Define Error Codes *********************************************/
#define FAILDISP 20
--
1.7.10.4
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
>From 9b5aa3344bff76ebbaba1618f63ca91122f270c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Tue, 20 Aug 2012 20:30:46 +0200
Subject: [PATCH 05/12] wmbutton: Version simplification
This patch is based in the code wrote by Christian Aichinger
for the Debian distribution.
The patch simplify the version number in the code.
---
wmbutton/wmb_libs.c | 2 +-
wmbutton/wmbutton.h | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/wmbutton/wmb_libs.c b/wmbutton/wmb_libs.c
index 3661f03..0d8daad 100644
--- a/wmbutton/wmb_libs.c
+++ b/wmbutton/wmb_libs.c
@@ -107,7 +107,7 @@ void show_usage() {
fprintf(stderr,"usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
"[-F <font>] [-v] [-s] [-n]\n",app_name);
fprintf(stderr,"\n");
- fprintf(stderr," wmbutton Ver %d Rel %d\n",VER,REL);
+ fprintf(stderr," wmbutton version %s\n", VER_STR);
fprintf(stderr,"\n");
fprintf(stderr,"-g <geometry> Window Geometry - ie: 64x64+10+10\n");
fprintf(stderr,"-d <display> Display - ie: 127.0.0.1:0.0\n");
diff --git a/wmbutton/wmbutton.h b/wmbutton/wmbutton.h
index 1b99abf..ebf62ff 100644
--- a/wmbutton/wmbutton.h
+++ b/wmbutton/wmbutton.h
@@ -20,8 +20,7 @@
#define BUTTONFILENAME "/.wmbutton.xpm"
/****** Version Number *************************************************/
-#define VER 0 /* Version Number */
-#define REL 6 /* Release Number */
+#define VER_STR "0.6.1" /* Version Number String */
/****** Define Error Codes *********************************************/
#define FAILDISP 20
--
1.7.10.4