aboutsummaryrefslogtreecommitdiff
path: root/core/src/UI/UI_Items.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/UI/UI_Items.cpp')
-rw-r--r--core/src/UI/UI_Items.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/UI/UI_Items.cpp b/core/src/UI/UI_Items.cpp
index 899db6e..624f942 100644
--- a/core/src/UI/UI_Items.cpp
+++ b/core/src/UI/UI_Items.cpp
@@ -122,12 +122,12 @@ void ItemListEntries(ItemList<T>& list, int& selectedIdx) {
if constexpr (kHasDescription) {
ImGui::TableNextColumn();
- ImGui::Text("%s", entry.GetDescription().c_str());
+ ImGui::TextUnformatted(entry.GetDescription().c_str());
}
if constexpr (kHasEmail) {
ImGui::TableNextColumn();
- ImGui::Text("%s", entry.GetEmail().c_str());
+ ImGui::TextUnformatted(entry.GetEmail().c_str());
}
if constexpr (kHasStock) {
@@ -198,7 +198,7 @@ void ItemListEditor(ItemList<T>& list) {
list.Remove(selectedIdx);
}
if (ImGui::BeginPopupModal(ls->DeleteItemDialogTitle.Get(), &opened, ImGuiWindowFlags_AlwaysAutoResize)) {
- ImGui::Text("%s", ls->DeleteItemDialogMessage.Get());
+ ImGui::TextUnformatted(ls->DeleteItemDialogMessage.Get());
if (ImGui::Button(ls->DialogConfirm.Get())) {
ImGui::CloseCurrentPopup();