Closed melix99 closed 4 years ago
Thanks for the PR. I am afraid I cannot merge it as is, because it will erroneously remove the last character of user input even if it is not a trailing slash (for instance when selecting a file). I have implemented your fix in a different way in 6343fab.
Using
pfd::select_folder()
on macOS produces a path with a trailing slash, this pr removes the trailing slash so that the result is coherent with the other platforms.