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
a80d93c5
Commit
a80d93c5
authored
Dec 19, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Dec 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Fix LB_GETTEXT unmapping for A<->W.
parent
278bd29b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
winproc.c
dlls/user/winproc.c
+5
-3
No files found.
dlls/user/winproc.c
View file @
a80d93c5
...
...
@@ -956,8 +956,9 @@ LRESULT WINPROC_UnmapMsg32ATo32W( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
if
(
WINPROC_TestLBForStr
(
hwnd
))
{
LPARAM
*
ptr
=
(
LPARAM
*
)
lParam
-
1
;
result
=
WideCharToMultiByte
(
CP_ACP
,
0
,
(
LPWSTR
)
lParam
,
-
1
,
(
LPSTR
)
*
ptr
,
0x7fffffff
,
NULL
,
NULL
)
-
1
;
if
(
result
>=
0
)
result
=
WideCharToMultiByte
(
CP_ACP
,
0
,
(
LPWSTR
)
lParam
,
-
1
,
(
LPSTR
)
*
ptr
,
0x7fffffff
,
NULL
,
NULL
)
-
1
;
HeapFree
(
GetProcessHeap
(),
0
,
ptr
);
}
break
;
...
...
@@ -1224,7 +1225,8 @@ static LRESULT WINPROC_UnmapMsg32WTo32A( HWND hwnd, UINT msg, WPARAM wParam, LPA
if
(
WINPROC_TestLBForStr
(
hwnd
))
{
LPARAM
*
ptr
=
(
LPARAM
*
)
lParam
-
1
;
result
=
MultiByteToWideChar
(
CP_ACP
,
0
,
(
LPSTR
)
lParam
,
-
1
,
(
LPWSTR
)
*
ptr
,
0x7fffffff
)
-
1
;
if
(
result
>=
0
)
result
=
MultiByteToWideChar
(
CP_ACP
,
0
,
(
LPSTR
)
lParam
,
-
1
,
(
LPWSTR
)
*
ptr
,
0x7fffffff
)
-
1
;
HeapFree
(
GetProcessHeap
(),
0
,
ptr
);
}
break
;
...
...
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