summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-26 07:10:18 +0200
committerGitHub <noreply@github.com>2023-04-26 07:10:18 +0200
commit953985a08a9ffb714be1b02335cee72dc7551646 (patch)
tree75cb1101691bc8b39c55b435fe657519a2c89c47 /src/global.h
parent1fe3f0d66aae22e145b987aa6e035c7bbd91f073 (diff)
parentc38c23dcab5d7e5e389ea5527301017571cfce24 (diff)
downloadfork-ledger-953985a08a9ffb714be1b02335cee72dc7551646.tar.gz
fork-ledger-953985a08a9ffb714be1b02335cee72dc7551646.tar.bz2
fork-ledger-953985a08a9ffb714be1b02335cee72dc7551646.zip
Merge pull request #2248 from afh/improve-web-docs
Improve web docs
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.h b/src/global.h
index 4892a471..d989d1b2 100644
--- a/src/global.h
+++ b/src/global.h
@@ -125,7 +125,7 @@ public:
<< Ledger_VERSION_PATCH;
if (Ledger_VERSION_PRERELEASE != 0)
out << Ledger_VERSION_PRERELEASE;
- if (Ledger_VERSION_DATE != 0)
+ if (std::strlen(Ledger_VERSION_DATE) > 0)
out << '-' << Ledger_VERSION_DATE;
out << _(", the command-line accounting tool");
out << _("\nwith");