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.
This commit is contained in:
parent
de5602b957
commit
fbdcee1386
|
@ -107,7 +107,7 @@ void show_usage() {
|
||||||
fprintf(stderr,"usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
|
fprintf(stderr,"usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
|
||||||
"[-F <font>] [-v] [-s] [-n]\n",app_name);
|
"[-F <font>] [-v] [-s] [-n]\n",app_name);
|
||||||
fprintf(stderr,"\n");
|
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,"\n");
|
||||||
fprintf(stderr,"-g <geometry> Window Geometry - ie: 64x64+10+10\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");
|
fprintf(stderr,"-d <display> Display - ie: 127.0.0.1:0.0\n");
|
||||||
|
|
|
@ -20,8 +20,7 @@
|
||||||
#define BUTTONFILENAME "/.wmbutton.xpm"
|
#define BUTTONFILENAME "/.wmbutton.xpm"
|
||||||
|
|
||||||
/****** Version Number *************************************************/
|
/****** Version Number *************************************************/
|
||||||
#define VER 0 /* Version Number */
|
#define VER_STR "0.6.1" /* Version Number String */
|
||||||
#define REL 6 /* Release Number */
|
|
||||||
|
|
||||||
/****** Define Error Codes *********************************************/
|
/****** Define Error Codes *********************************************/
|
||||||
#define FAILDISP 20
|
#define FAILDISP 20
|
||||||
|
|
Loading…
Reference in a new issue