src/file.cpp

changeset 519
63135a8abd41
parent 518
623c01862eb8
child 522
afa691788bdb
--- a/src/file.cpp	Sat Oct 19 01:11:26 2013 +0300
+++ b/src/file.cpp	Sat Oct 19 01:15:57 2013 +0300
@@ -308,7 +308,7 @@
 		{	log ("Couldn't parse line #%1: %2", m_progress + 1, static_cast<LDError*> (obj)->reason);
 
 			if (m_warningsPointer)
-				(*m_warningsPointer) ++;
+				(*m_warningsPointer)++;
 		}
 
 		m_objs << obj;
@@ -320,7 +320,7 @@
 	}
 
 	// If we're done now, tell the environment we're done and stop.
-	if (i >= ( (int) lines().size()) - 1)
+	if (i >= ((int) lines().size()) - 1)
 	{	emit workDone();
 		setDone (true);
 		return;

mercurial