From 5f84bd4c4b8653ce24b2ee5f22e9b4e381de23c1 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 1 Dec 2024 19:42:29 -0600 Subject: [PATCH] [nostalgia/core/studio] Fix MSVC build --- .../core/src/studio/paletteeditor/paletteeditor-imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/nostalgia/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp b/deps/nostalgia/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp index 5355da4..567b25f 100644 --- a/deps/nostalgia/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp +++ b/deps/nostalgia/src/nostalgia/modules/core/src/studio/paletteeditor/paletteeditor-imgui.cpp @@ -258,7 +258,7 @@ void PaletteEditorImGui::drawColorEditor() noexcept { } if (newName) { std::ignore = pushCommand( - m_pal, m_selectedColorRow, ox::String{newName}); + m_pal, m_selectedColorRow, static_cast(newName.text)); } }