Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
635ec22e
Commit
635ec22e
authored
Feb 04, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed second buffer argument to MultiByteToWideChar.
parent
d65bd8ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
editor.c
dlls/mshtml/editor.c
+1
-1
navigate.c
dlls/mshtml/navigate.c
+1
-1
No files found.
dlls/mshtml/editor.c
View file @
635ec22e
...
...
@@ -588,7 +588,7 @@ static HRESULT exec_fontname(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
stra
,
-
1
,
NULL
,
0
);
strw
=
heap_alloc
(
len
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
stra
,
-
1
,
strw
,
-
1
);
MultiByteToWideChar
(
CP_ACP
,
0
,
stra
,
-
1
,
strw
,
len
);
nsfree
(
stra
);
V_BSTR
(
out
)
=
SysAllocString
(
strw
);
...
...
dlls/mshtml/navigate.c
View file @
635ec22e
...
...
@@ -657,7 +657,7 @@ static void parse_post_data(nsIInputStream *post_data_stream, LPWSTR *headers_re
else
headers
=
heap_alloc
((
len
+
1
)
*
sizeof
(
WCHAR
));
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
ptr2
,
ptr
-
ptr2
,
headers
+
headers_len
,
-
1
);
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
ptr2
,
ptr
-
ptr2
,
headers
+
headers_len
,
len
);
headers_len
+=
len
;
ptr2
=
ptr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment