removed unused definitions for menu list entry size
authorHolger Schemel <info@artsoft.org>
Mon, 27 Mar 2023 07:39:49 +0000 (09:39 +0200)
committerHolger Schemel <info@artsoft.org>
Mon, 27 Mar 2023 07:39:49 +0000 (09:39 +0200)
build-scripts/create_element_defs.pl
src/files.c
src/main.h

index 59d1a4d8076c81e11050ce18763a07a8eeddfb43..b75d86ac79c6752c99a3068df90604f530f9a6c4 100755 (executable)
@@ -2577,7 +2577,7 @@ sub print_image_config_vars
                $var = $1 . "[GFX_SPECIAL_ARG_DEFAULT]" . $3;
            }
 
-           if ($var =~ /^menu.(draw_[xy]offset|list_size|list_entry_size)$/)
+           if ($var =~ /^menu.(draw_[xy]offset|list_size)$/)
            {
                $var .= "[GFX_SPECIAL_ARG_DEFAULT]";
            }
index cb1a9f77d277ee9177c0271771081f09430f1b93..b162b9683126c4381a60c761f117cb7f163b0ede 100644 (file)
@@ -12456,10 +12456,9 @@ static void LoadMenuDesignSettingsFromFilename(char *filename)
   {
     struct TokenIntPtrInfo menu_config[] =
     {
-      { "menu.draw_xoffset",   &menu.draw_xoffset[i]           },
-      { "menu.draw_yoffset",   &menu.draw_yoffset[i]           },
-      { "menu.list_size",      &menu.list_size[i]              },
-      { "menu.list_entry_size",        &menu.list_entry_size[i]        }
+      { "menu.draw_xoffset",   &menu.draw_xoffset[i]   },
+      { "menu.draw_yoffset",   &menu.draw_yoffset[i]   },
+      { "menu.list_size",      &menu.list_size[i]      }
     };
 
     for (j = 0; j < ARRAY_SIZE(menu_config); j++)
index b81458875913219cda9e595784edf6bc824da399..5ccf7389285cb05c60e737eef07af8a2d17fc2bc 100644 (file)
@@ -2883,7 +2883,6 @@ struct MenuInfo
 
   int list_size[NUM_SPECIAL_GFX_ARGS];
   int list_size_info[NUM_SPECIAL_GFX_INFO_ARGS];
-  int list_entry_size[NUM_SPECIAL_GFX_ARGS];
   int list_entry_size_info[NUM_SPECIAL_GFX_INFO_ARGS];
 
   int left_spacing[NUM_SPECIAL_GFX_ARGS];