Commit 173d40a4 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Fix crash-inducing typo/thinko.

parent 5574e750
......@@ -6922,7 +6922,7 @@ static BOOL LISTVIEW_Update(LISTVIEW_INFO *infoPtr, INT nItem)
{
TRACE("(nItem=%d)\n", nItem);
if (nItem < 0 && nItem >= infoPtr->nItemCount) return FALSE;
if (nItem < 0 || nItem >= infoPtr->nItemCount) return FALSE;
/* rearrange with default alignment style */
if (is_autoarrange(infoPtr))
......
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