[Hide Content]From bc8e6e25e2446aaf6722d182abf5b111fffe003e Mon Sep 17 00:00:00 2001
From: Lamil Lerran <lamillerran@hotmail.com>
Date: Tue, 24 Mar 2015 15:51:44 -0700
Subject: [PATCH] Fixed Bug 0009570: Time strings for times >24 hours now
formatted correctly
---
crawl-ref/source/stringutil.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crawl-ref/source/stringutil.cc b/crawl-ref/source/stringutil.cc
index 29a7989..b2e3ed6 100644
--- a/crawl-ref/source/stringutil.cc
+++ b/crawl-ref/source/stringutil.cc
@@ -419,7 +419,7 @@ string make_time_string(time_t abs_time, bool terse)
string buff;
if (days > 0)
{
- buff += make_stringf("%d%s ", days, terse ? ","
+ buff += make_stringf("%d %s ", days, terse ? ","
: days > 1 ? "days" : "day");
}
return buff + make_stringf("%02d:%02d:%02d", hours, mins, secs);
--
2.1.0