Commit c9b6dd83 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

user32/listbox: Fix multicolumn navigation on VK_RIGHT.

parent 17df6aa5
......@@ -2354,8 +2354,7 @@ static LRESULT LISTBOX_HandleKeyDown( LB_DESCR *descr, DWORD key )
if (descr->style & LBS_MULTICOLUMN)
{
bForceSelection = FALSE;
if (descr->focus_item + descr->page_size < descr->nb_items)
caret = descr->focus_item + descr->page_size;
caret = min(descr->focus_item + descr->page_size, descr->nb_items - 1);
break;
}
/* fall through */
......
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