Various minor code improvements

This commit is contained in:
Jonathan White committed 2019-05-19 18:21:34 -04:00
1 parent 125a81f2ed
commit 96438a45b4
10 files changed
+35 -29

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ void NativeMessagingBase::readNativeMessages()
{
#ifdef Q_OS_WIN
quint32 length = 0;
while (m_running.load() && !std::cin.eof()) {
while (m_running.load() != 0 && !std::cin.eof()) {
length = 0;
std::cin.read(reinterpret_cast<char*>(&length), 4);
readStdIn(length);