src/file.cpp

changeset 322
5e701c3c3d8e
parent 321
48e429bfd58c
child 363
75583c9f289d
--- a/src/file.cpp	Wed Jul 03 00:43:27 2013 +0300
+++ b/src/file.cpp	Thu Jul 04 03:05:39 2013 +0300
@@ -223,12 +223,10 @@
 		// Check for parse errors and warn about tthem
 		if( obj->getType () == LDObject::Gibberish )
 		{
-/*
-			logf( LOG_Warning, "Couldn't parse line #%lu: %s\n",
-				m_progress + 1, qchars (static_cast<LDGibberish*> (obj)->reason ));
+			log( "Couldn't parse line #%lu: %s\n",
+				m_progress + 1, static_cast<LDGibberish*> (obj)->reason );
 			
-			logf (LOG_Warning, "- Line was: %s\n", qchars (line));
-*/
+			log( "- Line was: %s\n", line );
 			
 			if( m_warningsPointer )
 				( *m_warningsPointer )++;

mercurial