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
c286ca06
Commit
c286ca06
authored
Feb 25, 2004
by
Matt Chapman
Committed by
Alexandre Julliard
Feb 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a reentrancy issue in the property sheet implementation by not
caching a pointer that can change.
parent
7dba7d31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
propsheet.c
dlls/comctl32/propsheet.c
+2
-3
No files found.
dlls/comctl32/propsheet.c
View file @
c286ca06
...
...
@@ -1381,7 +1381,6 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
DLGTEMPLATE
*
pTemplate
;
HWND
hwndPage
;
RECT
rc
;
PropPageInfo
*
ppInfo
=
psInfo
->
proppage
;
PADDING_INFO
padding
;
UINT
pageWidth
,
pageHeight
;
DWORD
resSize
;
...
...
@@ -1494,7 +1493,7 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
if
(
temp
)
Free
(
temp
);
p
pInfo
[
index
].
hwndPage
=
hwndPage
;
p
sInfo
->
proppage
[
index
].
hwndPage
=
hwndPage
;
if
(
psInfo
->
ppshheader
.
dwFlags
&
INTRNL_ANY_WIZARD
)
{
/* FIXME: This code may no longer be correct.
...
...
@@ -2278,7 +2277,6 @@ static BOOL PROPSHEET_RemovePage(HWND hwndDlg,
if
(
!
psInfo
)
{
return
FALSE
;
}
oldPages
=
psInfo
->
proppage
;
/*
* hpage takes precedence over index.
*/
...
...
@@ -2345,6 +2343,7 @@ static BOOL PROPSHEET_RemovePage(HWND hwndDlg,
/* Remove the tab */
SendMessageW
(
hwndTabControl
,
TCM_DELETEITEM
,
index
,
0
);
oldPages
=
psInfo
->
proppage
;
psInfo
->
nPages
--
;
psInfo
->
proppage
=
Alloc
(
sizeof
(
PropPageInfo
)
*
psInfo
->
nPages
);
...
...
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