summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-03 23:13:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-03 23:13:38 +0100
commit8928e0d8939f4ebbfe986042d17560d017885dd7 (patch)
treec18014c662d4dd1d176e427a864b974fc2a519b6
parent297b4344bef3d5d2b167ac81f73a1768b4d2305d (diff)
fix gcc warning
-rw-r--r--editor/imgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index 371eed80..753475d3 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -174,7 +174,7 @@ void app::do_popup_menu()
void app::kill_popups(bool hard)
{
- _popup_target = { .target = popup_target_type::none };
+ _popup_target = {};
ImGui::CloseCurrentPopup();
if (hard)