Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StringToUTF8(): Don't include the terminating \0 in the returned length.
The majority of Win32 API functions we cover actually behave like this, with GetCurrentDirectory() being the only exception. And yes, this indeed fixes some weird bugs in applications that use the Borland VCL library, and EditDisk in particular.
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
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
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