diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-22 03:53:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-22 03:53:17 +0000 |
| commit | 33d2ceccbe41a2abdb4b145ba56138b55e5d4973 (patch) | |
| tree | eadaf97c6bc1100d6122edb9e8a56e8a5d1befb0 | |
| parent | 989db59a065c3c9db1296289a857fa38dbf27960 (diff) | |
s/__openbox_version/OPENBOX_VERSION
| -rw-r--r-- | src/main.cc | 4 | ||||
| -rw-r--r-- | util/epist/main.cc | 2 | ||||
| -rw-r--r-- | version.h.in | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cc b/src/main.cc index f192c0a1..c16fba2d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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")) { diff --git a/util/epist/main.cc b/util/epist/main.cc index 900a2342..2f39212e 100644 --- a/util/epist/main.cc +++ b/util/epist/main.cc @@ -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 diff --git a/version.h.in b/version.h.in index 196c3f77..007f2f9d 100644 --- a/version.h.in +++ b/version.h.in @@ -1 +1 @@ -#define __openbox_version "@VERSION@" +#define OPENBOX_VERSION "@VERSION@" |
