From 91a3bfe42a611519c1df2f9901acaa1aa600dc31 Mon Sep 17 00:00:00 2001 From: leak Date: Sat, 13 Aug 2011 13:00:38 +0200 Subject: Core/Commands: .pinfo improvements - Allow .pinfo - Add map/zone/subzone/phase to output --- src/server/shared/Utilities/Util.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/shared/Utilities/Util.cpp') diff --git a/src/server/shared/Utilities/Util.cpp b/src/server/shared/Utilities/Util.cpp index 47e18943f75..6a78897bbe0 100755 --- a/src/server/shared/Utilities/Util.cpp +++ b/src/server/shared/Utilities/Util.cpp @@ -162,13 +162,13 @@ std::string secsToTimeString(uint64 timeInSecs, bool shortText, bool hoursOnly) std::ostringstream ss; if(days) - ss << days << (shortText ? "d" : " Day(s) "); + ss << days << (shortText ? "d " : " Day(s) "); if(hours || hoursOnly) - ss << hours << (shortText ? "h" : " Hour(s) "); + ss << hours << (shortText ? "h " : " Hour(s) "); if(!hoursOnly) { if(minutes) - ss << minutes << (shortText ? "m" : " Minute(s) "); + ss << minutes << (shortText ? "m " : " Minute(s) "); if(secs || (!days && !hours && !minutes) ) ss << secs << (shortText ? "s" : " Second(s)."); } -- cgit v1.2.3