From 8e0f0e5beb51418c32659fd011db22263f6987a4 Mon Sep 17 00:00:00 2001 From: William JCM Date: Mon, 5 Dec 2022 11:50:28 +0100 Subject: [PATCH] SaveTool: update a TextUnformatted() call. --- src/SaveTool/SaveTool_MainManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SaveTool/SaveTool_MainManager.cpp b/src/SaveTool/SaveTool_MainManager.cpp index ff7a90c..cd9d6a0 100644 --- a/src/SaveTool/SaveTool_MainManager.cpp +++ b/src/SaveTool/SaveTool_MainManager.cpp @@ -438,7 +438,7 @@ SaveTool::drawUnavailableMaterialRow(Containers::StringView name, std::int32_t t ImGui::TableSetColumnIndex(0); ImGui::Text("T%i", tier); ImGui::TableSetColumnIndex(1); - ImGui::TextUnformatted(name.data()); + ImGui::TextUnformatted(name.begin(), name.end()); ImGui::TableSetColumnIndex(2); ImGui::TextDisabled("Unavailable as of game version " SUPPORTED_GAME_VERSION); }