Skip to content

Commit

Permalink
Fixed compilation issue with agbcc
Browse files Browse the repository at this point in the history
  • Loading branch information
pkmnsnfrn committed Feb 13, 2024
1 parent 7bdb8c9 commit cd79d9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pokedex.c
Original file line number Diff line number Diff line change
Expand Up @@ -4234,8 +4234,9 @@ static u8* ReplaceDecimalSeparator(const u8* originalString)
bool32 replaced = FALSE;
u32 length = StringLength(originalString);
u8* modifiedString = Alloc(WEIGHT_HEIGHT_STR_MEM);
u32 i;

for (u32 i = 0; i < length; i++)
for (i = 0; i < length; i++)
{
if ((originalString[i] != CHAR_PERIOD) || replaced)
{
Expand Down

0 comments on commit cd79d9a

Please sign in to comment.