projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e15f84
)
fixed subtitle for empty level story info screen
author
Holger Schemel
<holger.schemel@virtion.de>
Sun, 17 Nov 2024 23:16:15 +0000
(
00:16
+0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Sun, 17 Nov 2024 23:16:15 +0000
(
00:16
+0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 6e4fd3f64e69ea199525f6b77228b437307ca9dc..7abfd77bcc06d7e9f138817d6df44ba473f351ab 100644
(file)
--- 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);
}