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
0e3425d3
Commit
0e3425d3
authored
May 13, 2003
by
Mike McCormack
Committed by
Alexandre Julliard
May 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed packing/unpacking of WM_WININICHANGE.
parent
0ea140da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
message.c
dlls/user/message.c
+6
-2
No files found.
dlls/user/message.c
View file @
0e3425d3
...
...
@@ -419,8 +419,10 @@ static size_t pack_message( HWND hwnd, UINT message, WPARAM wparam, LPARAM lpara
case
WM_GETTEXT
:
case
WM_ASKCBFORMATNAME
:
return
wparam
*
sizeof
(
WCHAR
);
case
WM_SETTEXT
:
case
WM_WININICHANGE
:
if
(
lparam
)
push_string
(
data
,
(
LPWSTR
)
lparam
);
return
0
;
case
WM_SETTEXT
:
case
WM_DEVMODECHANGE
:
case
CB_DIR
:
case
LB_DIR
:
...
...
@@ -630,8 +632,10 @@ static BOOL unpack_message( HWND hwnd, UINT message, WPARAM *wparam, LPARAM *lpa
case
WM_ASKCBFORMATNAME
:
if
(
!
get_buffer_space
(
buffer
,
(
*
wparam
*
sizeof
(
WCHAR
))
))
return
FALSE
;
break
;
case
WM_SETTEXT
:
case
WM_WININICHANGE
:
if
(
!*
lparam
)
return
TRUE
;
/* fall through */
case
WM_SETTEXT
:
case
WM_DEVMODECHANGE
:
case
CB_DIR
:
case
LB_DIR
:
...
...
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