-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Windows code to account for API change
I opted to not remove the UTF8 verification for Windows' platform specific code. While it's unlikely that Windows' API would return invalid Strings, the extra check for a filename can't hurt whereas removing it would require modifying a decent chunk of the code. The old code performed the check, and converting a String to an OsString is free. Path of least resistance.
- Loading branch information
1 parent
559b57b
commit e4b7119
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters