MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / NormalizePathSeparator

Function NormalizePathSeparator

extern/nfd/nfd_win.cpp:794–800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792 return NFD_OKAY;
793}
794void NormalizePathSeparator(nfdnchar_t* path) {
795 if (path) {
796 for (; *path; ++path) {
797 if (*path == L'/') *path = L'\\';
798 }
799 }
800}
801} // namespace
802
803void NFD_FreePathU8(nfdu8char_t* outPath) {

Callers 4

NFD_OpenDialogU8Function · 0.85
NFD_OpenDialogMultipleU8Function · 0.85
NFD_SaveDialogU8Function · 0.85
NFD_PickFolderU8Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected