mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: correct counting of found matches
This commit is contained in:
parent
02ca738ea4
commit
ed470325bf
@ -5607,7 +5607,7 @@ void EditMarkAll(HWND hwnd, char* pszFind, int flags, int rangeStart, int rangeE
|
||||
start = end;
|
||||
end = rangeEnd;
|
||||
|
||||
} while ((start < end) && (++iMarkOccurrencesCount < iMarkOccurrencesMaxCount));
|
||||
} while ((++iMarkOccurrencesCount < iMarkOccurrencesMaxCount) && (start < end));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user