[Scummvm-cvs-logs] SF.net SVN: scummvm:[33802] residual/trunk/engine/textsplit.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Tue Aug 12 20:22:28 CEST 2008


Revision: 33802
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33802&view=rev
Author:   aquadran
Date:     2008-08-12 18:22:27 +0000 (Tue, 12 Aug 2008)

Log Message:
-----------
formating

Modified Paths:
--------------
    residual/trunk/engine/textsplit.cpp

Modified: residual/trunk/engine/textsplit.cpp
===================================================================
--- residual/trunk/engine/textsplit.cpp	2008-08-12 15:21:28 UTC (rev 33801)
+++ residual/trunk/engine/textsplit.cpp	2008-08-12 18:22:27 UTC (rev 33802)
@@ -72,7 +72,7 @@
 	tmpData[len] = '\0';
 	// Find out how many lines of text there are
 	_numLines = _lineIndex = 0;
-	line = (char *) tmpData;
+	line = (char *)tmpData;
 	while (line) {
 		line = std::strchr(line, '\n');
 		if (line) {
@@ -82,10 +82,9 @@
 	}
 	// Allocate an array of the lines
 	_lines = new TextLines[_numLines];
-	line = (char *) tmpData;
+	line = (char *)tmpData;
 	for (i = 0; i < _numLines;i++) {
 		char *lastLine = line;
-		
 		line = std::strchr(lastLine, '\n');
 		_lines[i].setData(lastLine, line-lastLine);
 		line++;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list