From 7f0a1ac5a3237dd26daffc058fb827cedff61174 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 28 Oct 2005 07:22:12 +0000 Subject: *** no comment *** --- format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'format.cc') diff --git a/format.cc b/format.cc index 3abce944..a2c84ef2 100644 --- a/format.cc +++ b/format.cc @@ -453,7 +453,7 @@ void format_t::format(std::ostream& out_str, const details_t& details) const std::strftime(abuf, 255, elem->chars.c_str(), std::localtime(&actual_date)); - if (effective_date && effective_date != actual_date) { + if (effective_date != 0 && effective_date != actual_date) { char buf[512]; char ebuf[256]; std::strftime(ebuf, 255, elem->chars.c_str(), -- cgit v1.2.3