fixed incorrect sizes of some arrays in menu info structure
authorHolger Schemel <info@artsoft.org>
Wed, 21 Mar 2018 20:28:08 +0000 (21:28 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:18 +0000 (23:21 +0100)
src/main.h

index d1ca675ade4ee756a308854482c68e99617f5355..c4607c6a325951ab070d690b466b1cd68d1123f1 100644 (file)
@@ -2721,21 +2721,21 @@ struct MenuInfo
   int list_size[NUM_SPECIAL_GFX_ARGS];
   int list_size_info[NUM_SPECIAL_GFX_INFO_ARGS];
 
-  int paragraph_spacing[NUM_SPECIAL_GFX_INFO_ARGS];
+  int paragraph_spacing[NUM_SPECIAL_GFX_ARGS];
   int paragraph_spacing_info[NUM_SPECIAL_GFX_INFO_ARGS];
-  int paragraph_spacing_setup[NUM_SPECIAL_GFX_INFO_ARGS];
-  int headline1_spacing[NUM_SPECIAL_GFX_INFO_ARGS];
+  int paragraph_spacing_setup[NUM_SPECIAL_GFX_SETUP_ARGS];
+  int headline1_spacing[NUM_SPECIAL_GFX_ARGS];
   int headline1_spacing_info[NUM_SPECIAL_GFX_INFO_ARGS];
-  int headline1_spacing_setup[NUM_SPECIAL_GFX_INFO_ARGS];
-  int headline2_spacing[NUM_SPECIAL_GFX_INFO_ARGS];
+  int headline1_spacing_setup[NUM_SPECIAL_GFX_SETUP_ARGS];
+  int headline2_spacing[NUM_SPECIAL_GFX_ARGS];
   int headline2_spacing_info[NUM_SPECIAL_GFX_INFO_ARGS];
-  int headline2_spacing_setup[NUM_SPECIAL_GFX_INFO_ARGS];
-  int line_spacing[NUM_SPECIAL_GFX_INFO_ARGS];
+  int headline2_spacing_setup[NUM_SPECIAL_GFX_SETUP_ARGS];
+  int line_spacing[NUM_SPECIAL_GFX_ARGS];
   int line_spacing_info[NUM_SPECIAL_GFX_INFO_ARGS];
-  int line_spacing_setup[NUM_SPECIAL_GFX_INFO_ARGS];
-  int extra_spacing[NUM_SPECIAL_GFX_INFO_ARGS];
+  int line_spacing_setup[NUM_SPECIAL_GFX_SETUP_ARGS];
+  int extra_spacing[NUM_SPECIAL_GFX_ARGS];
   int extra_spacing_info[NUM_SPECIAL_GFX_INFO_ARGS];
-  int extra_spacing_setup[NUM_SPECIAL_GFX_INFO_ARGS];
+  int extra_spacing_setup[NUM_SPECIAL_GFX_SETUP_ARGS];
 
   struct TitleFadingInfo enter_menu;
   struct TitleFadingInfo leave_menu;