[Scummvm-cvs-logs] SF.net SVN: scummvm: [28934] scummvm/trunk/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Sep 18 00:56:28 CEST 2007


Revision: 28934
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28934&view=rev
Author:   thebluegr
Date:     2007-09-17 15:56:28 -0700 (Mon, 17 Sep 2007)

Log Message:
-----------
Character with ASCII code 9 is tab

Modified Paths:
--------------
    scummvm/trunk/engines/saga/font.cpp
    scummvm/trunk/engines/saga/font.h

Modified: scummvm/trunk/engines/saga/font.cpp
===================================================================
--- scummvm/trunk/engines/saga/font.cpp	2007-09-17 18:22:52 UTC (rev 28933)
+++ scummvm/trunk/engines/saga/font.cpp	2007-09-17 22:56:28 UTC (rev 28934)
@@ -332,7 +332,7 @@
 		// Check if character is defined
 		if ((drawFont.fontCharEntry[c_code].index == 0) && (c_code != FONT_FIRSTCHAR)) {
 #if FONT_SHOWUNDEFINED
-			if (c_code == FONT_CH_SPACE || c_code == 9) {
+			if (c_code == FONT_CH_SPACE || c_code == FONT_CH_TAB) {
 				textPoint.x += drawFont.fontCharEntry[c_code].tracking;
 				continue;
 			}

Modified: scummvm/trunk/engines/saga/font.h
===================================================================
--- scummvm/trunk/engines/saga/font.h	2007-09-17 18:22:52 UTC (rev 28933)
+++ scummvm/trunk/engines/saga/font.h	2007-09-17 22:56:28 UTC (rev 28934)
@@ -39,6 +39,7 @@
 // have a valid offset of '0'
 #define FONT_FIRSTCHAR 33
 
+#define FONT_CH_TAB 9
 #define FONT_CH_SPACE 32
 #define FONT_CH_QMARK 63
 


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