From 22a3a6d3c42695db2dfdb82198365442c0d21e59 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 19 Sep 2023 22:45:30 +0100 Subject: [PATCH] Add missing c_str() in font_osx.cpp --- src/os/macosx/font_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }