This commit is contained in:
Akash Mozumdar 2018-08-28 17:46:53 -04:00
parent fcb3fd63d3
commit 383fe554c9

View File

@ -27,7 +27,6 @@ void TextThread::Flush()
{
LOCK(ttMutex);
if (buffer.size() < 400 && (timestamp - GetTickCount() < 250 || buffer.size() == 0)) return; // TODO: let user change delay before sentence is flushed
std::wstring sentence;
if (status & USING_UNICODE)
{
sentence = std::wstring((wchar_t*)buffer.data(), buffer.size() / 2);