super embarassing bugfix
This commit is contained in:
parent
4f1bc5a9b2
commit
4854cd35f1
@ -26,7 +26,7 @@ void TextThread::Flush()
|
||||
std::wstring sentence;
|
||||
{
|
||||
LOCK(ttMutex);
|
||||
if (buffer.size() < 400 && (timestamp - GetTickCount() < 250 || buffer.size() == 0)) return; // TODO: let user change delay before sentence is flushed
|
||||
if (buffer.size() < 400 && (GetTickCount() - timestamp < 250 || buffer.size() == 0)) return; // TODO: let user change delay before sentence is flushed
|
||||
if (status & USING_UNICODE)
|
||||
{
|
||||
sentence = std::wstring((wchar_t*)buffer.data(), buffer.size() / 2);
|
||||
|
Loading…
Reference in New Issue
Block a user