File tree 1 file changed +3
-3
lines changed
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 )
2769
2769
itemHeight=s_Skin.ItemSettings [MenuSkin::LIST_ITEM].itemHeight ;
2770
2770
// total height minus the search box and the "more results"/"search internet", if present
2771
2771
maxHeight=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 () ))
2774
2774
maxHeight+=itemHeight;
2775
2775
}
2776
2776
if (bAutoComlpete)
@@ -2983,7 +2983,7 @@ bool CMenuContainer::InitSearchItems( void )
2983
2983
else
2984
2984
{
2985
2985
m_ScrollCount=(int )m_Items.size ();
2986
- bool bInternet=GetSettingBool (L" SearchInternet" );
2986
+ bool bInternet=GetSettingBool (L" SearchInternet" );
2987
2987
if (s_bMoreResults && s_SearchResults.bSearching )
2988
2988
{
2989
2989
MenuItem item (MENU_SEARCH_EMPTY);
You can’t perform that action at this time.
0 commit comments