Skip to content

Commit

Permalink
Merge pull request #79736 from timothyqiu/bit
Browse files Browse the repository at this point in the history
Fix typo in ResourceImporterImageFont
  • Loading branch information
YuriSizov committed Jul 25, 2023
2 parents b78fe83 + 80728bd commit b495811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/import/resource_importer_imagefont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Error ResourceImporterImageFont::import(const String &p_source_file, const Strin

int chr_width = chr_cell_width - char_margin.position.x - char_margin.size.x;
int chr_height = chr_cell_height - char_margin.position.y - char_margin.size.y;
ERR_FAIL_COND_V_MSG(chr_width <= 0 || chr_height <= 0, ERR_FILE_CANT_READ, TTR("Character margin too bit."));
ERR_FAIL_COND_V_MSG(chr_width <= 0 || chr_height <= 0, ERR_FILE_CANT_READ, TTR("Character margin too big."));

Ref<FontFile> font;
font.instantiate();
Expand Down

0 comments on commit b495811

Please sign in to comment.