Commit 6b25723c authored by Sander van Leeuwen's avatar Sander van Leeuwen Committed by Alexandre Julliard

Listview_ProcessLetterKeys: fixed never ending loop when end index is

zero.
parent e944bbb9
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment