diff --git a/reactos/lib/user32/controls/listbox.c b/reactos/lib/user32/controls/listbox.c index aa2ce0f5b13..fd71f67d939 100644 --- a/reactos/lib/user32/controls/listbox.c +++ b/reactos/lib/user32/controls/listbox.c @@ -2878,7 +2878,7 @@ static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg, HeapFree(GetProcessHeap(), 0, textW); if (index != LB_ERR) { - LISTBOX_SetCaretIndex( hwnd, descr, index, TRUE ); + LISTBOX_MoveCaret( hwnd, descr, index, TRUE ); LISTBOX_SetSelection( hwnd, descr, index, TRUE, FALSE ); } return index;