Skip to content

Commit 3b3a1d4

Browse files
committed
mac syntax error fix.
1 parent bc5e19b commit 3b3a1d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FileBrowser/ImGuiFileBrowser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ namespace imgui_addons
424424
ImGui::SetCursorPosY(pw_content_sz.y - frame_height_spacing * 2.0f);
425425

426426
//Render Input Text Bar label
427-
ImGui::Text(label.c_str());
427+
ImGui::Text("%s", label.c_str());
428428
ImGui::SameLine();
429429

430430
//Render Input Text Bar

FileBrowser/ImGuiFileBrowser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ namespace imgui_addons
114114
std::string valid_types;
115115
std::vector<const Info*> filtered_dirs; // Note: We don't need to call delete. It's just for storing filtered items from subdirs and subfiles so we don't use PassFilter every frame.
116116
std::vector<const Info*> filtered_files;
117-
std::vector<std::reference_wrapper<std::string>> inputcb_filter_files;
117+
std::vector< std::reference_wrapper<std::string> > inputcb_filter_files;
118118
};
119119
}
120120

0 commit comments

Comments
 (0)