From d5eb80aefcf4f1062616877f19c249bad4a0617b Mon Sep 17 00:00:00 2001 From: rachytski Date: Sun, 1 May 2011 23:24:24 +0300 Subject: [PATCH] ctime() returns string with the trailing "newline" symbol. removed it. --- map/framework.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/map/framework.cpp b/map/framework.cpp index 182e59b3b2..94aa261281 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -282,6 +282,7 @@ void FrameWork::AddRedrawCommandSure() for (unsigned i = 0; i < m_startTime.size(); ++i) if (m_startTime[i] == ' ') m_startTime[i] = '_'; + m_startTime = m_startTime.substr(0, m_startTime.size() - 1); m_informationDisplay.setBottomShift(bottomShift); #ifdef DRAW_TOUCH_POINTS