wmcalc: Use version number from autoconf.

This commit is contained in:
Doug Torrance 2018-09-10 19:53:30 -04:00 committed by Carlos R. Mafra
parent d90f29b5be
commit 0467087064
2 changed files with 1 additions and 3 deletions

View file

@ -836,7 +836,7 @@ void displaystr(void) {
void show_usage(void) {
printf("\n");
printf(" %s: Ver %d Rel %d\n",app_name, VER, REL);
printf(" %s %s\n",app_name, PACKAGE_VERSION);
printf("\n");
printf("usage: %s [-g geometry] [-d display] [-f <filename>] [-v] [-h] \n",
app_name);

View file

@ -18,8 +18,6 @@
#define CONFFILENAME "/.wmcalc"
#define CONFTEMPFILE "/tmp/wmcalc.tmp"
#define CONFIGGLOBAL CONF"/wmcalc.conf"
#define VER 0
#define REL 6
#define LMASK 100
#define MMASK 200