removed text from main menu back link list entry in hall of fame
authorHolger Schemel <info@artsoft.org>
Thu, 17 Mar 2022 20:15:11 +0000 (21:15 +0100)
committerHolger Schemel <info@artsoft.org>
Thu, 17 Mar 2022 20:15:11 +0000 (21:15 +0100)
src/libgame/system.h

index 123ddc9b7c63240f443a8574b3415c4b0f191ff7..cc9a2fb2ec6aa17cfffd92ed40a94c0878df3396 100644 (file)
 #define BACKLINK_TEXT_MAIN     ".. (main menu)"
 #define BACKLINK_TEXT_SETUP    ".. (setup menu)"
 #define BACKLINK_TEXT_PARENT   ".. (parent directory)"
+#define BACKLINK_TEXT_SCORES   ""
 
 #define TREE_INFOTEXT(t)       ((t) == TREE_TYPE_SCORE_ENTRY ?         \
                                 INFOTEXT_SCORE_ENTRY :                 \
                                 INFOTEXT_MUSIC_DIR :                   \
                                 INFOTEXT_UNDEFINED)
 
-#define TREE_BACKLINK_TEXT(t)  ((t) == TREE_TYPE_SCORE_ENTRY ||        \
+#define TREE_BACKLINK_TEXT(t)  ((t) == TREE_TYPE_SCORE_ENTRY ?         \
+                                BACKLINK_TEXT_SCORES :                 \
                                 (t) == TREE_TYPE_LEVEL_DIR ?           \
                                 BACKLINK_TEXT_MAIN :                   \
                                 BACKLINK_TEXT_SETUP)