replaced string text with predefined string constant
authorHolger Schemel <info@artsoft.org>
Sat, 30 Jan 2021 22:51:16 +0000 (23:51 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Jan 2021 22:51:16 +0000 (23:51 +0100)
src/libgame/setup.c

index 4a630aa60fe066abbb9fb7e5c1265223e1323772..3e044e96b44630cdb556e5a13a874175db06a1c3 100644 (file)
@@ -2912,7 +2912,7 @@ static TreeInfo *createTopTreeInfoNode(TreeInfo *node_first)
   ti_new->parent_link = FALSE;
 
   setString(&ti_new->identifier, node_first->identifier);
-  setString(&ti_new->name, "level sets");
+  setString(&ti_new->name, INFOTEXT_LEVEL_DIR);
   setString(&ti_new->name_sorting, ti_new->name);
 
   setString(&ti_new->subdir, STRING_TOP_DIRECTORY);
@@ -2921,7 +2921,7 @@ static TreeInfo *createTopTreeInfoNode(TreeInfo *node_first)
   ti_new->sort_priority = node_first->sort_priority;;
   ti_new->latest_engine = node_first->latest_engine;
 
-  setString(&ti_new->class_desc, "level sets");
+  setString(&ti_new->class_desc, INFOTEXT_LEVEL_DIR);
 
   ti_new->node_group = node_first;
   ti_new->level_group = TRUE;