[Scummvm-cvs-logs] CVS: scummvm/bs2 anims.cpp,1.30,1.31

Nicolas Bacca arisme at users.sourceforge.net
Sun Oct 12 06:05:03 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2
In directory sc8-pr-cvs1:/tmp/cvs-serv4770

Modified Files:
	anims.cpp 
Log Message:
Alignment fix in debug message

Index: anims.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/anims.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- anims.cpp	11 Oct 2003 12:26:52 -0000	1.30
+++ anims.cpp	12 Oct 2003 13:04:46 -0000	1.31
@@ -530,7 +530,7 @@
 		res_man.close(text_res);
 
 		// 1st word of text line is the official line number
-		debug(5,"(%d) SEQUENCE TEXT: %s", *(uint16 *) text, text + 2);
+		debug(5,"(%d) SEQUENCE TEXT: %s", READ_LE_UINT16(text), text + 2);
 
 		// is it to be speech or subtitles or both?
 		// assume speech is not running until know otherwise





More information about the Scummvm-git-logs mailing list