From c38c23dcab5d7e5e389ea5527301017571cfce24 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 25 Apr 2023 11:41:06 +0200 Subject: doc: Generate Ledger Python module documentation using pydoc when building web docs. --- src/global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/global.h') 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"); -- cgit v1.2.3