MCPcopy Create free account
hub / github.com/crosire/reshade / is_invalid_path_element

Function is_invalid_path_element

source/runtime_gui.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }) != text.cend();
36}
37static auto is_invalid_path_element(ImGuiInputTextCallbackData *data) -> int
38{
39 return data->EventChar == L'\"' || data->EventChar == L'*' || data->EventChar == L':' || data->EventChar == L'<' || data->EventChar == L'>' || data->EventChar == L'?' || data->EventChar == L'|';
40}
41static auto is_invalid_filename_element(ImGuiInputTextCallbackData *data) -> int
42{
43 // A file name cannot contain any of the following characters

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected