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
afd5580f
Commit
afd5580f
authored
Jan 31, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Jan 31, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Every EM_GETLINE send between a 32W to a 32A window returned
incomplete values before (the first 2 chars where cut away).
parent
1b450209
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
winproc.c
windows/winproc.c
+5
-5
No files found.
windows/winproc.c
View file @
afd5580f
...
@@ -623,9 +623,9 @@ void WINPROC_UnmapMsg32ATo32W( HWND32 hwnd, UINT32 msg, WPARAM32 wParam, LPARAM
...
@@ -623,9 +623,9 @@ void WINPROC_UnmapMsg32ATo32W( HWND32 hwnd, UINT32 msg, WPARAM32 wParam, LPARAM
/* Multiline edit */
/* Multiline edit */
case
EM_GETLINE32
:
case
EM_GETLINE32
:
{
LPARAM
*
ptr
=
(
LPARAM
*
)
lParam
-
1
;
/* get the old lParam */
{
LPARAM
*
ptr
=
(
LPARAM
*
)
lParam
-
1
;
/* get the old lParam */
WORD
len
=
*
(
WORD
*
)
ptr
;
WORD
len
=
*
(
WORD
*
)
lParam
;
lstrcpynWtoA
(
(
(
LPSTR
)
*
ptr
)
+
2
,
((
LPWSTR
)(
lParam
+
1
))
+
1
,
len
);
lstrcpynWtoA
(
(
LPSTR
)
*
ptr
,
(
LPWSTR
)
lParam
,
len
);
HeapFree
(
SystemHeap
,
0
,
ptr
);
HeapFree
(
SystemHeap
,
0
,
ptr
);
}
}
break
;
break
;
...
@@ -843,9 +843,9 @@ void WINPROC_UnmapMsg32WTo32A( HWND32 hwnd, UINT32 msg, WPARAM32 wParam, LPARAM
...
@@ -843,9 +843,9 @@ void WINPROC_UnmapMsg32WTo32A( HWND32 hwnd, UINT32 msg, WPARAM32 wParam, LPARAM
/* Multiline edit */
/* Multiline edit */
case
EM_GETLINE32
:
case
EM_GETLINE32
:
{
LPARAM
*
ptr
=
(
LPARAM
*
)
lParam
-
1
;
/* get the old lP
aram */
{
LPARAM
*
ptr
=
(
LPARAM
*
)
lParam
-
1
;
/* get the old lp
aram */
WORD
len
=
*
(
WORD
*
)
ptr
;
WORD
len
=
*
(
WORD
*
)
ptr
;
lstrcpynAtoW
(
(
(
LPWSTR
)
*
ptr
)
+
1
,
((
LPSTR
)(
lParam
+
1
))
+
2
,
len
);
lstrcpynAtoW
(
(
LPWSTR
)
*
ptr
,
(
LPSTR
)
lParam
,
len
);
HeapFree
(
SystemHeap
,
0
,
ptr
);
HeapFree
(
SystemHeap
,
0
,
ptr
);
}
}
break
;
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