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) while(true)
{ {
char *pResult = fgets(aBuf, sizeof(aBuf), m_File); char *pResult = fgets(aBuf, sizeof(aBuf), m_File);
if(pResult != NULL) if(pResult == NULL) break;
m_pConsole->ExecuteLineFlag(pResult, m_Flag, -1); m_pConsole->ExecuteLineFlag(pResult, m_Flag, -1);
else
break;
} }
} }
#endif #endif