diff --git a/include/cairo/context.hpp b/include/cairo/context.hpp index f6ab233e..fe6706d2 100644 --- a/include/cairo/context.hpp +++ b/include/cairo/context.hpp @@ -1,6 +1,7 @@ #pragma once #include + #include #include #include @@ -218,7 +219,7 @@ namespace cairo { char unicode[6]{'\0'}; utils::ucs4_to_utf8(unicode, chars.begin()->codepoint); - m_log.warn("Dropping unmatched character %s (U+%04x)", unicode, chars.begin()->codepoint); + m_log.warn("Dropping unmatched character %s (U+%04x) in '%s'", unicode, chars.begin()->codepoint, t.contents); utf8.erase(chars.begin()->offset, chars.begin()->length); for (auto&& c : chars) { c.offset -= chars.begin()->length; @@ -353,6 +354,6 @@ namespace cairo { std::deque> m_points; int m_activegroups{0}; }; -} +} // namespace cairo POLYBAR_NS_END