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
1 changed files with 1 additions and 1 deletions

View File

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