diff options
Diffstat (limited to 'src/global.h')
-rw-r--r-- | src/global.h | 2 |
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"); |