[Scummvm-cvs-logs] SF.net SVN: scummvm:[46498] tools/branches/gsoc2009-gui/create_sjisfnt.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Dec 23 15:04:31 CET 2009


Revision: 46498
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46498&view=rev
Author:   fingolfin
Date:     2009-12-23 14:04:30 +0000 (Wed, 23 Dec 2009)

Log Message:
-----------
Fix compilation of create_sjisfnt

Modified Paths:
--------------
    tools/branches/gsoc2009-gui/create_sjisfnt.cpp

Modified: tools/branches/gsoc2009-gui/create_sjisfnt.cpp
===================================================================
--- tools/branches/gsoc2009-gui/create_sjisfnt.cpp	2009-12-23 13:34:19 UTC (rev 46497)
+++ tools/branches/gsoc2009-gui/create_sjisfnt.cpp	2009-12-23 14:04:30 UTC (rev 46498)
@@ -196,7 +196,7 @@
 		delete[] i->plainData;
 	glyphs.clear();
 
-	File sjisFont(out, "wb");
+	Common::File sjisFont(out, "wb");
 	if (sjisFont.isOpen()) {
 		// Write our magic bytes
 		sjisFont.writeUint32BE(MKID_BE('SCVM'));
@@ -208,7 +208,7 @@
 		// Write character count
 		sjisFont.writeUint16BE(chars);
 
-		sjisFont.write(sjisFontData, 1, sjisDataSize);
+		sjisFont.write(sjisFontData, sjisDataSize);
 
 		if (sjisFont.err()) {
 			delete[] sjisFontData;


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