fix oboe in repeat remover

This commit is contained in:
Akash Mozumdar 2018-09-03 18:37:32 -04:00
parent c2c96746be
commit a59942fde2

View File

@ -37,6 +37,7 @@ bool RemoveCyclicRepeats(std::wstring& sentence)
if (realLength > 7) if (realLength > 7)
{ {
sentence = std::wstring(realSentence); sentence = std::wstring(realSentence);
sentence.pop_back();
RemoveCyclicRepeats(sentence); RemoveCyclicRepeats(sentence);
return true; return true;
} }