mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Nicer wording
This commit is contained in:
parent
7c9d452c61
commit
6b300334f7
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue