mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:54:07 +00:00
Listview_ProcessLetterKeys: fixed never ending loop when end index is
zero.
This commit is contained in:
parent
e944bbb954
commit
6b25723cf7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue