From 3e15f84336d826fcb9947ab1167783bbe3a4ae93 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 18 Nov 2024 00:09:40 +0100 Subject: [PATCH] renamed variable --- src/screens.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/screens.c b/src/screens.c index c3629605..6e4fd3f6 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1894,16 +1894,16 @@ static void drawChooseTreeEdit(int ypos_raw, boolean active) static char *getInfoScreenSubtitle(int screen_nr, int num_screens, int use_global_screens) { - static char info_text_title_2[MAX_LINE_LEN + 1]; + static char info_text_title[MAX_LINE_LEN + 1]; boolean draw_story_headline = (info_mode == INFO_MODE_STORY && hasLevelStory()); if (num_screens > 1) { - sprintf(info_text_title_2, "Page %d of %d", screen_nr + 1, num_screens); + sprintf(info_text_title, "Page %d of %d", screen_nr + 1, num_screens); } else if (info_mode == INFO_MODE_LEVEL) { - snprintf(info_text_title_2, MAX_LINE_LEN, "for level %d", level_nr); + snprintf(info_text_title, MAX_LINE_LEN, "for level %d", level_nr); } else { @@ -1920,10 +1920,10 @@ static char *getInfoScreenSubtitle(int screen_nr, int num_screens, int use_globa leveldir_current->name); snprintf(name_cut, max_name_len, "%s", name_full); - snprintf(info_text_title_2, max_text_len, text_format, name_cut); + snprintf(info_text_title, max_text_len, text_format, name_cut); } - return info_text_title_2; + return info_text_title; } static void DrawInfoScreen_Headline(int screen_nr, int num_screens, int use_global_screens) -- 2.34.1