Fix typo in ResourceImporterImageFont

(cherry picked from commit 80728bdf1e)
This commit is contained in:
Haoyu Qiu 2023-07-21 09:50:29 +08:00 committed by Yuri Sizov
parent 8fab0ff848
commit 188d9040d3
1 changed files with 1 additions and 1 deletions

View File

@ -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();