-8 chars in scoreboard for servertitle - TODO: get _real_ menuwidth as reference
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5537 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -265,7 +265,7 @@ void renderscores(void *menu, bool init)
|
||||
string text;
|
||||
filtertext(text, s->sdesc);
|
||||
for(char *p = text; (p = strchr(p, '\"')); *p++ = ' ');
|
||||
text[38] = '\0'; // serverbrowser has less room - +8 chars here
|
||||
text[30] = '\0'; // serverbrowser has less room - +8 chars here - 2010AUG03 - seems it was too much, falling back to 30 (for now): TODO get real width of menu as reference-width.
|
||||
concatformatstring(serverline, "%s:%d %s", s->name, s->port, text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user