From: Holger Schemel Date: Thu, 24 Feb 2022 00:38:34 +0000 (+0100) Subject: renamed variable X-Git-Tag: 4.3.2.0~105 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=abcfcce484c40387a5df78ca91c58e823d01f534;p=rocksndiamonds.git renamed variable --- diff --git a/src/screens.c b/src/screens.c index b5cef166..add4eb56 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5848,9 +5848,9 @@ void HandleHallOfFame(int mx, int my, int dx, int dy, int button) HandleChooseTree(mx, my, dx, dy, button, &score_entry_current); } -static void DrawScoreInfo(int pos) +static void DrawScoreInfo(int entry_nr) { - struct ScoreEntry *entry = &scores.entry[pos]; + struct ScoreEntry *entry = &scores.entry[entry_nr]; int font_title = MENU_INFO_FONT_TITLE; int font_head = MENU_INFO_FONT_HEAD; int font_text = MENU_INFO_FONT_TEXT; @@ -5902,7 +5902,7 @@ static void DrawScoreInfo(int pos) else { DrawTextF(xstart1, ystart, font_head, "Time"); - DrawTextF(xstart2, ystart, font_text, getHallOfFameTimeText(pos)); + DrawTextF(xstart2, ystart, font_text, getHallOfFameTimeText(entry_nr)); ystart += ystep_line; }