Fixed VERSION info in wmiir and wmii.

This commit is contained in:
Kris Maglione 2007-03-26 01:40:47 -04:00
parent 38a12d53d2
commit b0e967a3e9
4 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
ROOT=..
include ${ROOT}/mk/hdr.mk
include ${ROOT}/mk/wmii.mk
DIRS = wmii
TARG = wmii9menu \

View File

@ -1,5 +1,6 @@
ROOT= ../..
include ${ROOT}/mk/hdr.mk
include ${ROOT}/mk/wmii.mk
TARG = wmii

View File

@ -17,7 +17,7 @@
#include "wmii.h"
static const char
version[] = "wmii - " VERSION ", ©2007 Kris Maglione\n";
version[] = "wmii-"VERSION", ©2007 Kris Maglione\n";
static int (*x_error_handler) (Display *, XErrorEvent *);
static char *address, *ns_path;

View File

@ -286,7 +286,7 @@ main(int argc, char *argv[]) {
ARGBEGIN{
case 'v':
puts("ixpc-" VERSION ", ©2007 Kris Maglione\n");
printf("%s-" VERSION ", ©2007 Kris Maglione\n", argv0);
exit(0);
case 'a':
address = EARGF(usage());