mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-05 04:56:31 +03:00
Fixes Haiku performance issues.
This commit is contained in:
@@ -56,7 +56,8 @@ bool StatusBuildOutputController::searchFindAndAddStatusResult(
|
||||
continue;
|
||||
}
|
||||
|
||||
std::string subtxt = text.substr( matches[i].start, matches[i].end );
|
||||
std::string subtxt =
|
||||
text.substr( matches[i].start, matches[i].end - matches[i].start );
|
||||
if ( pattern.config.patternOrder.message == i ) {
|
||||
auto nl = subtxt.find_first_of( '\n' );
|
||||
if ( nl == std::string::npos ) {
|
||||
|
||||
Reference in New Issue
Block a user