From e5752f54b00179064f154e6d9015ba4fedc841f8 Mon Sep 17 00:00:00 2001 From: ocornut Date: Tue, 10 Feb 2015 19:47:35 +0000 Subject: [PATCH] Selectable() variant: fixed missed return value --- imgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui.cpp b/imgui.cpp index c592f034..542a3f4b 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -5784,6 +5784,7 @@ bool ImGui::Selectable(const char* label, bool* p_selected, const ImVec2& size_a *p_selected = !*p_selected; return true; } + return false; } // A little colored square. Return true when clicked.