mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Listview_ProcessLetterKeys: fixed never ending loop when end index is
zero.
This commit is contained in:
parent
e944bbb954
commit
6b25723cf7
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L
|
||||||
}
|
}
|
||||||
do {
|
do {
|
||||||
if (idx == nSize) {
|
if (idx == nSize) {
|
||||||
if (endidx == nSize)
|
if (endidx == nSize || endidx == 0)
|
||||||
break;
|
break;
|
||||||
idx=0;
|
idx=0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue