Skip to content

Commit

Permalink
mac syntax error fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gallickgunner committed Mar 13, 2020
1 parent bc5e19b commit 3b3a1d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FileBrowser/ImGuiFileBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ namespace imgui_addons
ImGui::SetCursorPosY(pw_content_sz.y - frame_height_spacing * 2.0f);

//Render Input Text Bar label
ImGui::Text(label.c_str());
ImGui::Text("%s", label.c_str());
ImGui::SameLine();

//Render Input Text Bar
Expand Down
2 changes: 1 addition & 1 deletion FileBrowser/ImGuiFileBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace imgui_addons
std::string valid_types;
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.
std::vector<const Info*> filtered_files;
std::vector<std::reference_wrapper<std::string>> inputcb_filter_files;
std::vector< std::reference_wrapper<std::string> > inputcb_filter_files;
};
}

Expand Down

0 comments on commit 3b3a1d4

Please sign in to comment.