wmtime: Remove unnecessary references to current version number.

To simplify maintenace, all references to the current version number outside
of the appropriate macro in in wmtime.c have been removed.  Note that this
macro had been WMMON_VERSION, likely a copy/paste error, and has been
renamed to WMTIME_VERSION.
This commit is contained in:
Doug Torrance 2015-01-03 16:16:20 -06:00 committed by Carlos R. Mafra
parent ea19c5c3ca
commit 59e8a712dc
4 changed files with 7 additions and 8 deletions

View file

@ -7,11 +7,10 @@ Nothing particular, but a computer might come in handy doh ;-)
Installation Installation
-------------------------------------------------------------- --------------------------------------------------------------
1) % tar -zxvf wmtime-1.1.tar.gz 1) % make
2) % make 2) % make install (as root)
3) % make install (as root)
4)* WMTime uses month and weekday abbreviations from the 3)* WMTime uses month and weekday abbreviations from the
currently set locale. If these abbreviations do not currently set locale. If these abbreviations do not
use Latin alphabet characters, then WMTime defaults to use Latin alphabet characters, then WMTime defaults to
US/English. US/English.

View file

@ -1,4 +1,4 @@
WMTime-1.1 WMTime
-------------------------------------------------------------- --------------------------------------------------------------
Authors...: Martijn Pieterse (pieterse@xs4all.nl) Authors...: Martijn Pieterse (pieterse@xs4all.nl)
Antoine Nulle (warp@xs4all.nl) Antoine Nulle (warp@xs4all.nl)

View file

@ -17,7 +17,7 @@
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
.\" USA. .\" USA.
.\" .\"
.TH WMTIME 1 "January 2015" "WMTIME 1.1" .TH WMTIME 1 "January 2015" "WMTIME"
.SH NAME .SH NAME
wmtime \- Window Maker dockapp that displays the time and date wmtime \- Window Maker dockapp that displays the time and date

View file

@ -92,7 +92,7 @@ const char* default_left_action = NULL;
const char* default_middle_action = NULL; const char* default_middle_action = NULL;
const char* default_right_action = NULL; const char* default_right_action = NULL;
#define WMMON_VERSION "1.1" #define WMTIME_VERSION "1.1"
/********************/ /********************/
/* Global Variables */ /* Global Variables */
@ -697,7 +697,7 @@ void usage(char *name) {
\*******************************************************************************/ \*******************************************************************************/
void printversion(void) { void printversion(void) {
printf("WMTime version %s\n", WMMON_VERSION); printf("WMTime version %s\n", WMTIME_VERSION);
} }
/* vim: sw=4 ts=4 columns=82 /* vim: sw=4 ts=4 columns=82