[Scummvm-cvs-logs] SF.net SVN: scummvm:[49869] scummvm/trunk/common/translation.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Jun 15 19:14:02 CEST 2010


Revision: 49869
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49869&view=rev
Author:   lordhoto
Date:     2010-06-15 17:14:02 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
Some style fixes.

Modified Paths:
--------------
    scummvm/trunk/common/translation.cpp

Modified: scummvm/trunk/common/translation.cpp
===================================================================
--- scummvm/trunk/common/translation.cpp	2010-06-15 17:13:42 UTC (rev 49868)
+++ scummvm/trunk/common/translation.cpp	2010-06-15 17:14:02 UTC (rev 49869)
@@ -78,7 +78,7 @@
 #ifdef TERMCONV
 	iconv_close(_conversion);
 	if (_convmsg)
-		delete [] _convmsg;
+		delete[] _convmsg;
 #endif // TERMCONV
 }
 
@@ -136,7 +136,7 @@
 	// Do the real conversion
 	size_t result = iconv(_conversion, pmsg, &len, pconv, &len2);
 
-	delete [] msgcpy;
+	delete[] msgcpy;
 
 	return result != ((size_t)-1);
 }
@@ -152,7 +152,7 @@
 
 	if (!convert(message)) {
 		// Resizing the buffer
-		delete [] _convmsg;
+		delete[] _convmsg;
 		_sizeconv = len * 2;
 		_convmsg = new char[_sizeconv];
 


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