From 80728bdf1e5929dd779ca9adac4b66d09971c6ef Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 21 Jul 2023 09:50:29 +0800 Subject: [PATCH] Fix typo in ResourceImporterImageFont --- editor/import/resource_importer_imagefont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/import/resource_importer_imagefont.cpp b/editor/import/resource_importer_imagefont.cpp index cbd00f0f6b5..8e04ce4c7ea 100644 --- a/editor/import/resource_importer_imagefont.cpp +++ b/editor/import/resource_importer_imagefont.cpp @@ -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 font; font.instantiate();