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
79e265ac
Commit
79e265ac
authored
Feb 06, 2007
by
Felix Nawothnig
Committed by
Alexandre Julliard
Feb 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove unnecessary and misused mask member from TAB_ITEM.
parent
42dda83b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
tab.c
dlls/comctl32/tab.c
+4
-7
No files found.
dlls/comctl32/tab.c
View file @
79e265ac
...
...
@@ -82,7 +82,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(tab);
typedef
struct
{
UINT
mask
;
DWORD
dwState
;
LPWSTR
pszText
;
INT
iImage
;
...
...
@@ -217,9 +216,8 @@ TAB_DumpItemInternal(TAB_INFO *infoPtr, UINT iItem)
TAB_ITEM
*
ti
;
ti
=
TAB_GetItem
(
infoPtr
,
iItem
);
TRACE
(
"tab %d, mask=0x%08x, dwState=0x%08x, pszText=%s, iImage=%d
\n
"
,
iItem
,
ti
->
mask
,
ti
->
dwState
,
debugstr_w
(
ti
->
pszText
),
ti
->
iImage
);
TRACE
(
"tab %d, dwState=0x%08x, pszText=%s, iImage=%d
\n
"
,
iItem
,
ti
->
dwState
,
debugstr_w
(
ti
->
pszText
),
ti
->
iImage
);
TRACE
(
"tab %d, rect.left=%d, rect.top(row)=%d
\n
"
,
iItem
,
ti
->
rect
.
left
,
ti
->
rect
.
top
);
}
...
...
@@ -1737,7 +1735,7 @@ TAB_DrawItemInterior
*
* Draw the icon.
*/
if
(
infoPtr
->
himl
&&
(
item
->
mask
&
TCIF_IMAGE
)
)
if
(
infoPtr
->
himl
&&
item
->
iImage
!=
-
1
)
{
INT
cx
;
INT
cy
;
...
...
@@ -2639,7 +2637,6 @@ TAB_InsertItemT (TAB_INFO *infoPtr, WPARAM wParam, LPARAM lParam, BOOL bUnicode)
item
=
TAB_GetItem
(
infoPtr
,
iItem
);
item
->
mask
=
pti
->
mask
;
item
->
pszText
=
NULL
;
if
(
pti
->
mask
&
TCIF_TEXT
)
...
...
@@ -2846,7 +2843,7 @@ static LRESULT TAB_DeleteItem (TAB_INFO *infoPtr, INT iItem)
TAB_InvalidateTabArea
(
infoPtr
);
if
((
item
->
mask
&
TCIF_TEXT
)
&&
item
->
pszText
)
if
(
item
->
pszText
)
Free
(
item
->
pszText
);
infoPtr
->
uNumItem
--
;
...
...
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