summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-25 11:41:06 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-25 21:25:54 +0200
commitc38c23dcab5d7e5e389ea5527301017571cfce24 (patch)
tree0f2447c0be2c231dddf40dd92be4ed07566f5ce6 /src/global.h
parent209f6f4a52c923ce8424a0ffcc57cbf0c1a25aea (diff)
downloadfork-ledger-c38c23dcab5d7e5e389ea5527301017571cfce24.tar.gz
fork-ledger-c38c23dcab5d7e5e389ea5527301017571cfce24.tar.bz2
fork-ledger-c38c23dcab5d7e5e389ea5527301017571cfce24.zip
doc: Generate Ledger Python module documentation
using pydoc when building 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");