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
5cdcfbfa
Commit
5cdcfbfa
authored
Mar 10, 2007
by
Felix Nawothnig
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix a typo.
parent
7b995929
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
treeview.c
dlls/comctl32/tests/treeview.c
+0
-2
treeview.c
dlls/comctl32/treeview.c
+1
-1
No files found.
dlls/comctl32/tests/treeview.c
View file @
5cdcfbfa
...
...
@@ -428,12 +428,10 @@ static void TestGetSetItemHeight(void)
ulNewHeight
=
(
int
)
SendMessage
(
hTree
,
TVM_GETITEMHEIGHT
,
0
,
0
);
ok
(
ulNewHeight
==
2
*
ulOldHeight
,
"New height not set properly, reported %d, expected %d
\n
"
,
ulNewHeight
,
2
*
ulOldHeight
);
todo_wine
{
/* Assuming tree doesn't have TVS_NONEVENHEIGHT set, so a set of 9 will round down to 8 */
SendMessage
(
hTree
,
TVM_SETITEMHEIGHT
,
9
,
0
);
ulNewHeight
=
(
int
)
SendMessage
(
hTree
,
TVM_GETITEMHEIGHT
,
0
,
0
);
ok
(
ulNewHeight
==
8
,
"Uneven height not set properly, reported %d, expected %d
\n
"
,
ulNewHeight
,
8
);
}
}
static
void
TestGetSetScrollTime
(
void
)
...
...
dlls/comctl32/treeview.c
View file @
5cdcfbfa
...
...
@@ -1825,7 +1825,7 @@ TREEVIEW_SetItemHeight(TREEVIEW_INFO *infoPtr, INT newHeight)
}
/* Round down, unless we support odd ("non even") heights. */
if
(
!
(
infoPtr
->
dwStyle
)
&
TVS_NONEVENHEIGHT
)
if
(
!
(
infoPtr
->
dwStyle
&
TVS_NONEVENHEIGHT
)
)
infoPtr
->
uItemHeight
&=
~
1
;
if
(
infoPtr
->
uItemHeight
!=
prevHeight
)
...
...
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