Nicer wording

This commit is contained in:
def 2015-06-24 19:17:49 +02:00
parent 7c9d452c61
commit 6b300334f7

View file

@ -554,11 +554,12 @@ void CSqlScore::MapInfoThread(void *pUser)
int stamp = (int)pData->m_pSqlData->m_pResults->getInt("Stamp"); int stamp = (int)pData->m_pSqlData->m_pResults->getInt("Stamp");
int ago = (int)pData->m_pSqlData->m_pResults->getInt("Ago"); int ago = (int)pData->m_pSqlData->m_pResults->getInt("Ago");
char pAgoString[51] = "\0"; char pAgoString[40];
char pReleasedString[60];
if(stamp != 0) if(stamp != 0)
{ {
strcpy(pAgoString, ", released "); agoTimeToString(ago, pAgoString);
agoTimeToString(ago, pAgoString+11); str_format(pReleasedString, sizeof(pReleasedString), ", released %s ago", pAgoString);
} }
char aStars[20]; char aStars[20];