SaveTool: don't pass a StringView to ImGui, it doesn't like that.

This commit is contained in:
Guillaume Jacquemin 2022-03-21 15:36:49 +01:00
parent 0c8c2601ce
commit 84b1e276a1

View file

@ -310,7 +310,7 @@ void SaveTool::drawWeaponEditor(Weapon& weapon) {
//test //test
drawAlignedText("%s: %s", labels[UnsignedInt(weapon.type)], weapon.name.data()); drawAlignedText("%s: %s", labels[UnsignedInt(weapon.type)].data(), weapon.name.data());
ImGui::SameLine(); ImGui::SameLine();