Skip to content

Commit

Permalink
Ignore special items when finding matching item on Open Dialog Find I…
Browse files Browse the repository at this point in the history
…tem (#2557)
  • Loading branch information
slambillion authored Nov 27, 2024
1 parent 5dec5f6 commit 4868273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/DirView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3607,7 +3607,7 @@ void CDirView::OnODFindItem(NMHDR* pNMHDR, LRESULT* pResult)
for (size_t i = pFindItem->iStart; i < m_listViewItems.size(); ++i)
{
DIFFITEM *di = GetItemKey(static_cast<int>(i));
if (di)
if (di && !IsDiffItemSpecial(di))
{
String filename = strutils::makelower(di->diffFileInfo[0].filename);

Expand Down

0 comments on commit 4868273

Please sign in to comment.