-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tidy-html5] Replace uwp does not support functions (#35375)
* Replace uwp does not support functions * update version * fix patch * update version * del baseline --------- Co-authored-by: Jim wang (BEYONDSOFT CONSULTING INC) <[email protected]>
- Loading branch information
1 parent
7f3acf6
commit 98ee16b
Showing
6 changed files
with
21 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/sprtf.c b/src/sprtf.c | ||
index 3468ac1..1630405 100644 | ||
--- a/src/sprtf.c | ||
+++ b/src/sprtf.c | ||
@@ -387,7 +387,7 @@ static void wprt( PTSTR ps ) | ||
{ | ||
static char _s_woibuf[1024]; | ||
char * cp = _s_woibuf; | ||
- int len = (int)lstrlen(ps); | ||
+ int len = (int)wcslen(ps); | ||
if(len) { | ||
int ret = WideCharToMultiByte( CP_ACP, /* UINT CodePage, // code page */ | ||
0, /* DWORD dwFlags, // performance and mapping flags */ |
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
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