From 33d2ceccbe41a2abdb4b145ba56138b55e5d4973 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 22 Aug 2002 03:53:17 +0000 Subject: [PATCH] s/__openbox_version/OPENBOX_VERSION --- src/main.cc | 4 ++-- util/epist/main.cc | 2 +- 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 \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@" -- 2.39.2