Fixed bug in TextFmt() on windows
This commit is contained in:
@@ -22,6 +22,6 @@ namespace ImGui
|
||||
template <typename T, typename... Args>
|
||||
IMGUI_API void TextFmt(T&& fmt, const Args &... args) {
|
||||
std::string str = fmt::format(std::forward<T>(fmt), args...);
|
||||
ImGui::TextUnformatted(&*str.begin(), &*str.end());
|
||||
ImGui::TextUnformatted(str.data(), str.data() + str.size());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user