+ fix: correct counting of found matches

This commit is contained in:
Rainer Kottenhoff 2018-01-05 16:37:31 +01:00
parent 02ca738ea4
commit ed470325bf

View File

@ -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));
}
}