From: Holger Schemel Date: Sun, 17 Nov 2024 23:16:15 +0000 (+0100) Subject: fixed subtitle for empty level story info screen X-Git-Tag: 4.4.0.0-test-4~48 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=848afa0a9ab73c00cac33591b85d0486e61d2f7d;p=rocksndiamonds.git fixed subtitle for empty level story info screen --- diff --git a/src/screens.c b/src/screens.c index 6e4fd3f6..7abfd77b 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1901,7 +1901,8 @@ static char *getInfoScreenSubtitle(int screen_nr, int num_screens, int use_globa { sprintf(info_text_title, "Page %d of %d", screen_nr + 1, num_screens); } - else if (info_mode == INFO_MODE_LEVEL) + else if ((info_mode == INFO_MODE_LEVEL) || + (info_mode == INFO_MODE_STORY && !hasLevelStory())) { snprintf(info_text_title, MAX_LINE_LEN, "for level %d", level_nr); }