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
bf129c41
Commit
bf129c41
authored
Aug 22, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for dreamweaver site definition dialog. Need to initialize the
rect for a tab control to an empty rect if it is not visible.
parent
79b29158
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
tab.c
dlls/comctl32/tab.c
+12
-1
No files found.
dlls/comctl32/tab.c
View file @
bf129c41
...
...
@@ -329,7 +329,18 @@ static BOOL TAB_InternalGetItemRect(
if
(
(
infoPtr
->
uNumItem
<=
0
)
||
(
itemIndex
>=
infoPtr
->
uNumItem
)
||
(
!
((
lStyle
&
TCS_MULTILINE
)
||
(
lStyle
&
TCS_VERTICAL
))
&&
(
itemIndex
<
infoPtr
->
leftmostVisible
))
)
return
FALSE
;
{
TRACE
(
"Not Visible
\n
"
);
/* need to initialize these to empty rects */
if
(
itemRect
)
{
memset
(
itemRect
,
0
,
sizeof
(
RECT
));
itemRect
->
bottom
=
infoPtr
->
tabHeight
;
}
if
(
selectedRect
)
memset
(
selectedRect
,
0
,
sizeof
(
RECT
));
return
FALSE
;
}
/*
* Avoid special cases in this procedure by assigning the "out"
...
...
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