Don't specify sDexSearchTypeOptions array size (#4820)
This commit is contained in:
parent
277b8607df
commit
9538d53f93
@ -1387,7 +1387,7 @@ static const struct SearchOptionText sDexSearchColorOptions[] =
|
||||
{},
|
||||
};
|
||||
|
||||
static const struct SearchOptionText sDexSearchTypeOptions[NUMBER_OF_MON_TYPES] = // + 2 for "None" and terminator, - 2 for Mystery and Stellar
|
||||
static const struct SearchOptionText sDexSearchTypeOptions[] =
|
||||
{
|
||||
{gText_DexEmptyString, gTypesInfo[TYPE_NONE].name},
|
||||
{gText_DexEmptyString, gTypesInfo[TYPE_NORMAL].name},
|
||||
|
||||
@ -1901,7 +1901,7 @@ static const struct SearchOptionText sDexSearchColorOptions[] =
|
||||
{},
|
||||
};
|
||||
|
||||
static const struct SearchOptionText sDexSearchTypeOptions[NUMBER_OF_MON_TYPES] = // + 2 for "None" and terminator, - 2 for Mystery and Stellar
|
||||
static const struct SearchOptionText sDexSearchTypeOptions[] =
|
||||
{
|
||||
{gText_DexEmptyString, gTypesInfo[TYPE_NONE].name},
|
||||
{gText_DexEmptyString, gTypesInfo[TYPE_NORMAL].name},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user