Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8dde5a4f
Commit
8dde5a4f
authored
Apr 25, 1999
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 25, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing WIN_ReleaseWndPtr.
parent
bc49a36f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
button.c
controls/button.c
+2
-1
edit.c
controls/edit.c
+1
-1
mdi.c
windows/mdi.c
+3
-2
No files found.
controls/button.c
View file @
8dde5a4f
...
...
@@ -242,8 +242,9 @@ LRESULT WINAPI ButtonWndProc( HWND hWnd, UINT uMsg,
return
oldHbitmap
;
case
BM_GETIMAGE
:
retvalue
=
infoPtr
->
hImage
;
WIN_ReleaseWndPtr
(
wndPtr
);
return
infoPtr
->
hImag
e
;
return
retvalu
e
;
case
BM_GETCHECK16
:
case
BM_GETCHECK
:
...
...
controls/edit.c
View file @
8dde5a4f
...
...
@@ -435,7 +435,7 @@ LRESULT WINAPI EditWndProc( HWND hwnd, UINT msg,
/* fall through */
case
EM_GETMODIFY
:
DPRINTF_EDIT_MSG32
(
"EM_GETMODIFY"
);
re
turn
((
es
->
flags
&
EF_MODIFIED
)
!=
0
);
re
sult
=
((
es
->
flags
&
EF_MODIFIED
)
!=
0
);
break
;
case
EM_SETMODIFY16
:
...
...
windows/mdi.c
View file @
8dde5a4f
...
...
@@ -1129,9 +1129,10 @@ LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message, WPARAM wParam,
case
WM_SETFOCUS
:
if
(
ci
->
hwndActiveChild
)
{
w
=
WIN_FindWndPtr
(
ci
->
hwndActiveChild
);
if
(
!
(
w
->
dwStyle
&
WS_MINIMIZE
)
)
WND
*
p
w
=
WIN_FindWndPtr
(
ci
->
hwndActiveChild
);
if
(
!
(
p
w
->
dwStyle
&
WS_MINIMIZE
)
)
SetFocus
(
ci
->
hwndActiveChild
);
WIN_ReleaseWndPtr
(
pw
);
}
retvalue
=
0
;
goto
END
;
...
...
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