From 43f74cfb6708acd8f2c3e7f1ce9e800da28bc0f9 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 19 Feb 2005 16:37:03 +0000 Subject: [PATCH] Show the real score instead of 1234. --- bigscreen/groupscreen.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bigscreen/groupscreen.cpp b/bigscreen/groupscreen.cpp index 6e59053..9150906 100644 --- a/bigscreen/groupscreen.cpp +++ b/bigscreen/groupscreen.cpp @@ -33,7 +33,10 @@ void GroupScreen::draw(unsigned char *buf) unsigned x = 90; for (std::vector::const_iterator j = i->scores.begin(); j != i->scores.end(); ++j) { - my_draw_text(widestring("1234"), buf, x, y, true, 255, 255, 255); + char text[16]; + sprintf(text, "%u", j->score); + + my_draw_text(text, buf, x, y, true, 255, 255, 255); x += 60; } -- 2.39.2