diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-12 11:01:43 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-12 11:01:43 +0200 |
commit | 2fb296a5cd83bfa7a234cfcaae78a63da3556fb8 (patch) | |
tree | ad9fd265b4bcc64227dc9fe16db5a5cac1b8b6d7 /editor | |
parent | 5e2bdd7efc9ee361a128235eeea0bab97f78b93b (diff) | |
parent | 26df66cbadf1c87d4885037b0b515293e1207253 (diff) | |
download | redot-engine-2fb296a5cd83bfa7a234cfcaae78a63da3556fb8.tar.gz |
Merge pull request #93074 from bruvzg/bmp_imp_adv
[Image Font Importer] Fix reading advance after hex/dec range.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/import/resource_importer_imagefont.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/import/resource_importer_imagefont.cpp b/editor/import/resource_importer_imagefont.cpp index 94e5dd0f12..0c87176a13 100644 --- a/editor/import/resource_importer_imagefont.cpp +++ b/editor/import/resource_importer_imagefont.cpp @@ -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; @@ -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; |