Skip to content

Commit

Permalink
Merge pull request godotengine#93074 from bruvzg/bmp_imp_adv
Browse files Browse the repository at this point in the history
[Image Font Importer] Fix reading advance after hex/dec range.
  • Loading branch information
akien-mga committed Jun 12, 2024
2 parents 5e2bdd7 + 26df66c commit 2fb296a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/import/resource_importer_imagefont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ Error ResourceImporterImageFont::import(const String &p_source_file, const Strin
} else {
end = token.hex_to_int();
step = STEP_ADVANCE_BEGIN;
c--;
}
}
} break;
Expand All @@ -244,6 +245,7 @@ Error ResourceImporterImageFont::import(const String &p_source_file, const Strin
} else {
end = token.to_int();
step = STEP_ADVANCE_BEGIN;
c--;
}
}
} break;
Expand Down

0 comments on commit 2fb296a

Please sign in to comment.