X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fscreens.c;h=4802015c8fe1519456267c76133a700c2cac65fb;hp=12fa233140c51fff4c586e54ad711c3026f64661;hb=c5f13e5788a1c1733ca0c847ecf8ae8583c9641c;hpb=2b37570006f2a25e5e5de1cedac61dda372329b0 diff --git a/src/screens.c b/src/screens.c index 12fa2331..4802015c 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4186,9 +4186,10 @@ static void drawHallOfFameList(int first_entry, int highlight_position) int font_nr2 = (active ? FONT_TEXT_2_ACTIVE : FONT_TEXT_2); int font_nr3 = (active ? FONT_TEXT_3_ACTIVE : FONT_TEXT_3); int font_nr4 = (active ? FONT_TEXT_4_ACTIVE : FONT_TEXT_4); + int dxoff = getFontDrawOffsetX(font_nr1); int dx1 = 3 * getFontWidth(font_nr1); int dx2 = dx1 + getFontWidth(font_nr1); - int dx3 = SXSIZE - 2 * (mSX - SX) - 5 * getFontWidth(font_nr4); + int dx3 = SXSIZE - 2 * (mSX - SX + dxoff) - 5 * getFontWidth(font_nr4); int num_dots = (dx3 - dx2) / getFontWidth(font_nr3); int sy = mSY + 64 + i * 32;