code cleanup

This commit is contained in:
Blu3train 2022-05-18 00:33:08 +02:00
parent 8977d515c4
commit 4eeb747694

View File

@ -18,11 +18,9 @@ bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
text.erase(text.begin(), std::find_if_not(text.begin(), text.end(), iswspace));
};
//sentence = sentence.substr(checkSentence.size(), wstring::npos);
sentence = sentence.substr(checkSentence.size());
Ltrim(sentence);
return true;
//return !sentence.empty();
}
return false;
}