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
cf4670cb
Commit
cf4670cb
authored
Oct 10, 2002
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Oct 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix braino in calculation of LVS_LIST origin.
Invalidate the entire window when we are invalidating the list.
parent
3e7b7104
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
listview.c
dlls/comctl32/listview.c
+3
-8
No files found.
dlls/comctl32/listview.c
View file @
cf4670cb
...
...
@@ -734,7 +734,7 @@ static inline LRESULT CallWindowProcT(WNDPROC proc, HWND hwnd, UINT uMsg,
} while (0)
#define LISTVIEW_InvalidateList(infoPtr)\
LISTVIEW_InvalidateRect(infoPtr,
&infoPtr->rcList
)
LISTVIEW_InvalidateRect(infoPtr,
NULL
)
static
inline
BOOL
LISTVIEW_GetItemW
(
LISTVIEW_INFO
*
infoPtr
,
LPLVITEMW
lpLVItem
)
{
...
...
@@ -5511,19 +5511,14 @@ static BOOL LISTVIEW_GetOrigin(LISTVIEW_INFO *infoPtr, LPPOINT lpptOrigin)
lpptOrigin
->
x
=
infoPtr
->
rcList
.
left
;
lpptOrigin
->
y
=
infoPtr
->
rcList
.
top
;
if
(
uView
==
LVS_LIST
)
{
nHorzPos
*=
LISTVIEW_GetCountPerColumn
(
infoPtr
);
nVertPos
=
0
;
}
nHorzPos
*=
infoPtr
->
nItemWidth
;
else
if
(
uView
==
LVS_REPORT
)
{
nVertPos
*=
infoPtr
->
nItemHeight
;
}
lpptOrigin
->
x
-=
nHorzPos
;
lpptOrigin
->
y
-=
nVertPos
;
TRACE
(
"
(pt=(%ld,%ld))
\n
"
,
lpptOrigin
->
x
,
lpptOrigin
->
y
);
TRACE
(
"
origin=%s
\n
"
,
debugpoint
(
lpptOrigin
)
);
return
TRUE
;
}
...
...
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