improved safe.

This commit is contained in:
2024-03-16 00:41:20 +08:00
parent 35b7c9651f
commit 60ba3e4df2
6 changed files with 14 additions and 8 deletions

View File

@@ -9,9 +9,13 @@ namespace hgl
default_source=fs;
if(fs)
{
fs->RefAcquire(this);
max_char_height=fs->GetCharHeight();
max_char_height=fs->GetCharHeight();
}
else
max_char_height=0;
}
FontSourceMulti::~FontSourceMulti()