Skip to content

Commit ccc8485

Browse files
committed
Fix build
1 parent be02add commit ccc8485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/core/ServerBrowser/CServerBrowser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ void CServerBrowser::AddServerToList(CServerListItem* pServer, ServerBrowserType
13941394
const SString strVersionSortKey = pServer->strVersionSortKey + pServer->strTieBreakSortKey;
13951395

13961396
const SString strVerified = pServer->isStatusVerified ? "" : "*";
1397-
const SString strPlayers = (pServer->nMaxPlayers == 0) ? "0 / 0" : SString("%d / %d %s", pServer->nPlayers, pServer->nMaxPlayers, *strVerified);
1397+
const SString strPlayers = (pServer->nMaxPlayers == 0) ? SStringX("0 / 0") : SString("%d / %d %s", pServer->nPlayers, pServer->nMaxPlayers, *strVerified);
13981398
const SString strPlayersSortKey = SString("%04d-", pServer->nMaxPlayers ? pServer->nPlayers + 1 : 0) + pServer->strTieBreakSortKey;
13991399

14001400
const SString strPing = pServer->nPing == 9999 ? "" : SString("%d", pServer->nPing);

0 commit comments

Comments
 (0)