Fix crash-inducing typo/thinko.

This commit is contained in:
Dimitrie O. Paun 2002-10-28 20:38:03 +00:00 committed by Alexandre Julliard
parent 5574e750c5
commit 173d40a493
1 changed files with 1 additions and 1 deletions

View File

@ -6922,7 +6922,7 @@ static BOOL LISTVIEW_Update(LISTVIEW_INFO *infoPtr, INT nItem)
{ {
TRACE("(nItem=%d)\n", 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 */ /* rearrange with default alignment style */
if (is_autoarrange(infoPtr)) if (is_autoarrange(infoPtr))