From 52c59645e201b876b1c84e007eb1c135cd0e1008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 7 Jun 2016 09:20:43 -0700 Subject: [PATCH] Cleanup. --- 3rdparty/ocornut-imgui/widgets/file_list.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/ocornut-imgui/widgets/file_list.inl b/3rdparty/ocornut-imgui/widgets/file_list.inl index 31916af75..cc776c442 100644 --- a/3rdparty/ocornut-imgui/widgets/file_list.inl +++ b/3rdparty/ocornut-imgui/widgets/file_list.inl @@ -72,8 +72,8 @@ namespace ImGui const bool isDir = -1 == it->Size; bool isSelected = Pos == pos; - bool clicked = Selectable(it->Name.CStr(), &isSelected, 0, ImVec2(150.0f, 0.0f) ); - SameLine(); + bool clicked = Selectable(it->Name.CStr(), &isSelected); + SameLine(150); if (isDir) { Text("%10s", "");