File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2769,8 +2769,8 @@ bool CMenuContainer::InitSearchItems( void )
27692769itemHeight=s_Skin.ItemSettings [MenuSkin::LIST_ITEM].itemHeight ;
27702770// total height minus the search box and the "more results"/"search internet", if present
27712771maxHeight=m_Items[m_SearchIndex].itemRect .top -s_Skin.Main_search_padding .top -s_Skin.Search_padding .top ;
2772- maxHeight-=itemHeight*(m_SearchItemCount-(s_bMoreResults? 1 : 2 ) );
2773- if (!s_SearchResults.bSearching && !HasMoreResults ())
2772+ maxHeight-=itemHeight*(m_SearchItemCount-1 );
2773+ if (!s_bMoreResults || (! s_SearchResults.bSearching && !HasMoreResults () ))
27742774maxHeight+=itemHeight;
27752775}
27762776if (bAutoComlpete)
@@ -2983,7 +2983,7 @@ bool CMenuContainer::InitSearchItems( void )
29832983else
29842984{
29852985m_ScrollCount=(int )m_Items.size ();
2986- bool bInternet=GetSettingBool (L" SearchInternet" );
2986+ bool bInternet=GetSettingBool (L" SearchInternet" );
29872987if (s_bMoreResults && s_SearchResults.bSearching )
29882988{
29892989MenuItem item (MENU_SEARCH_EMPTY);
You can’t perform that action at this time.
0 commit comments