Don't specify sDexSearchTypeOptions array size (#4820)
This commit is contained in:
parent
277b8607df
commit
9538d53f93
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue