mirror of
https://github.com/moparisthebest/Simba
synced 2025-02-07 02:30:19 -05:00
mmlcore: LoadFont() did not return True on success.
This commit is contained in:
parent
bda9bb9ab9
commit
6494b951bb
@ -202,6 +202,7 @@ function TMFonts.LoadFont(const Name: String; Shadow: Boolean): boolean;
|
||||
var
|
||||
f: TMFont;
|
||||
begin
|
||||
Result := True;
|
||||
if not DirectoryExists(FPath + Name) then
|
||||
begin
|
||||
raise Exception.Create('LoadFont: Directory ' + FPath + Name + ' does not exists.');
|
||||
|
Loading…
Reference in New Issue
Block a user