SaveTool: don't pass a StringView to ImGui, it doesn't like that.
This commit is contained in:
parent
0c8c2601ce
commit
84b1e276a1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue