projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e944bbb
)
Listview_ProcessLetterKeys: fixed never ending loop when end index is
author
Sander van Leeuwen
<sandervl@xs4all.nl>
Tue, 17 Sep 2002 01:30:13 +0000
(
01:30
+0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 17 Sep 2002 01:30:13 +0000
(
01:30
+0000)
zero.
dlls/comctl32/listview.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/comctl32/listview.c
b/dlls/comctl32/listview.c
index
c972a5c
..
2877183
100644
(file)
--- a/
dlls/comctl32/listview.c
+++ b/
dlls/comctl32/listview.c
@@
-843,7
+843,7
@@
static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L
}
do {
if (idx == nSize) {
- if (endidx == nSize)
+ if (endidx == nSize
|| endidx == 0
)
break;
idx=0;
}