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:
Rodolfo García Peñas (kix) 2012-08-20 20:30:46 +02:00 committed by Carlos R. Mafra
parent de5602b957
commit fbdcee1386
2 changed files with 2 additions and 3 deletions

View file

@ -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");

View file

@ -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