X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fscreens.c;fp=src%2Fscreens.c;h=1233b803dbe8b7b57c664c596acf0509fde28a72;hb=f8e6aa30ec5bca3cea709cead3d9b6ebfdcdbf09;hp=eefdca2da64e2e45b4c32649eefcec23680d5f60;hpb=f7d8244dfd53c14a76026ffb36b5b879eff220c6;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index eefdca2d..1233b803 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5491,16 +5491,16 @@ static void DrawScoreInfo_Content(int entry_nr) struct ScoreEntry *entry = &scores.entry[entry_nr]; char *pos_text = getHallOfFameRankText(entry_nr, 0); char *tape_date = getHallOfFameTapeDateText(entry); - int font_head = MENU_INFO_FONT_HEAD; - int font_text = MENU_INFO_FONT_TEXT; - int font_foot = MENU_INFO_FONT_FOOT; - int spacing_para = menu.paragraph_spacing[GAME_MODE_SCOREINFO]; - int spacing_line = menu.line_spacing[GAME_MODE_SCOREINFO]; - int spacing_left = menu.left_spacing[GAME_MODE_SCOREINFO]; - int spacing_top = menu.top_spacing[GAME_MODE_SCOREINFO]; + int font_head = MENU_INFO_FONT_HEAD; + int font_text = MENU_INFO_FONT_TEXT; + int font_foot = MENU_INFO_FONT_FOOT; + int spacing_para = menu.paragraph_spacing[GAME_MODE_SCOREINFO]; + int spacing_line = menu.line_spacing[GAME_MODE_SCOREINFO]; + int spacing_left = menu.left_spacing[GAME_MODE_SCOREINFO]; + int spacing_top = menu.top_spacing[GAME_MODE_SCOREINFO]; int xstep = getFontWidth(font_text); - int ystep_para = getMenuTextStep(spacing_para, font_text); - int ystep_line = getMenuTextStep(spacing_line, font_text); + int ystep_para = getMenuTextStep(spacing_para, font_text); + int ystep_line = getMenuTextStep(spacing_line, font_text); int xstart = mSX - SX + spacing_left; int ystart = mSY - SY + spacing_top + getHeadlineSpacing(); int ybottom = mSY - SY + SYSIZE - menu.bottom_spacing[GAME_MODE_SCOREINFO]; @@ -5513,7 +5513,7 @@ static void DrawScoreInfo_Content(int entry_nr) boolean play_visible = !strEqual(tape_date, UNKNOWN_NAME); int font_width = getFontWidth(font_text); int font_height = getFontHeight(font_text); - int tape_date_width = getTextWidth(tape_date, font_text); + int tape_date_width = getTextWidth(tape_date, font_text); int pad_left = xstart2; int pad_right = menu.right_spacing[GAME_MODE_SCOREINFO]; int max_chars_per_line = (SXSIZE - pad_left - pad_right) / font_width;