This commit is contained in:
def 2016-05-02 23:37:40 +02:00
parent 21ac41bfae
commit a954241169

View file

@ -61,10 +61,8 @@ void CFifo::Update()
while(true)
{
char *pResult = fgets(aBuf, sizeof(aBuf), m_File);
if(pResult != NULL)
m_pConsole->ExecuteLineFlag(pResult, m_Flag, -1);
else
break;
if(pResult == NULL) break;
m_pConsole->ExecuteLineFlag(pResult, m_Flag, -1);
}
}
#endif