Skip to content

Commit 30308ed

Browse files
committed
[parser] Fix another Unix build error introduced with commit 177ec82.
1 parent cc1fc5c commit 30308ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/parser/parser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6587,11 +6587,11 @@ ObjectPtr Parser::Parse_TrueType ()
65876587
{
65886588
font = mFontResolver.GetFont(fontName, style);
65896589
if (font == nullptr)
6590-
Error("Failed to load system font '%s'.", UCS2toASCIIString(fontName));
6590+
Error("Failed to load system font '%s'.", UCS2toASCIIString(fontName).c_str());
65916591
}
65926592
catch (FontProcessingException& e)
65936593
{
6594-
Error("Failed to load system font '%s' (%s).", UCS2toASCIIString(fontName), e.what());
6594+
Error("Failed to load system font '%s' (%s).", UCS2toASCIIString(fontName).c_str(), e.what());
65956595
}
65966596
END_CASE
65976597
OTHERWISE

0 commit comments

Comments
 (0)