summaryrefslogtreecommitdiff
path: root/web/web_scoreboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_scoreboard.c')
-rw-r--r--web/web_scoreboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/web_scoreboard.c b/web/web_scoreboard.c
index 4ca823a..3b288c5 100644
--- a/web/web_scoreboard.c
+++ b/web/web_scoreboard.c
@@ -19,14 +19,14 @@ static struct {
void scoreboard_set_player_active(int pn)
{
- char sel[64], *psel = sel;
+ char buf[64], *sel = buf;
if (pn == -1)
- psel = NULL;
+ sel = NULL;
else
sprintf(sel, "#p%d-info", pn);
- dom_set_uniq_class(psel, "active", "[id$=-info]");
+ dom_set_uniq_class(sel, "active", "[id$=-info]");
}
void scoreboard_set_player_name(int pn, char *str)