s/__openbox_version/OPENBOX_VERSION
This commit is contained in:
parent
989db59a06
commit
33d2ceccbe
3 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ static void showHelp(int exitval) {
|
|||
" -menu <string>\t\tuse alternate menu file.\n"
|
||||
" -version\t\t\tdisplay version and exit.\n"
|
||||
" -help\t\t\t\tdisplay this help text and exit.\n\n"),
|
||||
__openbox_version);
|
||||
OPENBOX_VERSION);
|
||||
|
||||
// some people have requested that we print out compile options
|
||||
// as well
|
||||
|
@ -172,7 +172,7 @@ int main(int argc, char **argv) {
|
|||
printf("Openbox %s : (c) 2002 - 2002 Ben Jansens\n"
|
||||
" 2001 - 2002 Sean 'Shaleh' Perry\n"
|
||||
" 1997 - 2000, 2002 Brad Hughes\n\n",
|
||||
__openbox_version);
|
||||
OPENBOX_VERSION);
|
||||
|
||||
::exit(0);
|
||||
} else if (! strcmp(argv[i], "-help")) {
|
||||
|
|
|
@ -81,7 +81,7 @@ int main(int argc, char **argv) {
|
|||
usage();
|
||||
} else if (argvi == "-version") {
|
||||
fprintf(stderr, "epist - shipped with openbox %s\n",
|
||||
__openbox_version);
|
||||
OPENBOX_VERSION);
|
||||
exit(0);
|
||||
}
|
||||
else
|
||||
|
|
|
@ -1 +1 @@
|
|||
#define __openbox_version "@VERSION@"
|
||||
#define OPENBOX_VERSION "@VERSION@"
|
||||
|
|
Loading…
Reference in a new issue