diff --git a/src/os/macosx/font_osx.cpp b/src/os/macosx/font_osx.cpp index f502fe1676..4a576f8043 100644 --- a/src/os/macosx/font_osx.cpp +++ b/src/os/macosx/font_osx.cpp @@ -89,7 +89,7 @@ bool SetFallbackFont(FontCacheSettings *settings, const std::string &language_is /* Save result. */ callback->SetFontNames(settings, name); if (!callback->FindMissingGlyphs()) { - DEBUG(fontcache, 2, "CT-Font for %s: %s", language_isocode, name); + DEBUG(fontcache, 2, "CT-Font for %s: %s", language_isocode.c_str(), name); result = true; break; }