[Scummvm-cvs-logs] SF.net SVN: scummvm: [24198] scummvm/trunk/engines/agos/string.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun Oct 8 12:43:53 CEST 2006


Revision: 24198
          http://svn.sourceforge.net/scummvm/?rev=24198&view=rev
Author:   kirben
Date:     2006-10-08 03:43:49 -0700 (Sun, 08 Oct 2006)

Log Message:
-----------
Correct x position, when printing stasticsin Elvira 1

Modified Paths:
--------------
    scummvm/trunk/engines/agos/string.cpp

Modified: scummvm/trunk/engines/agos/string.cpp
===================================================================
--- scummvm/trunk/engines/agos/string.cpp	2006-10-08 09:44:06 UTC (rev 24197)
+++ scummvm/trunk/engines/agos/string.cpp	2006-10-08 10:43:49 UTC (rev 24198)
@@ -827,13 +827,13 @@
 	// Clear background of first digit
 	window->textColumnOffset = offs;
 	window->text_color = 0;
-	video_putchar_drawchar(window, x, y, 129);
+	video_putchar_drawchar(window, x * 8, y, 129);
 
 	if (val != -1) {
 		// Print first digit
 		chr = val / 10 + 48;
 		window->text_color = 15;
-		video_putchar_drawchar(window, x, y, chr);
+		video_putchar_drawchar(window, x * 8, y, chr);
 	}
 
 	offs += 6;
@@ -845,13 +845,13 @@
 	// Clear background of second digit
 	window->textColumnOffset = offs;
 	window->text_color = 0;
-	video_putchar_drawchar(window, x, y, 129);
+	video_putchar_drawchar(window, x * 8, y, 129);
 
 	if (val != -1) {
 		// Print second digit
 		chr = val % 10 + 48;
 		window->text_color = 15;
-		video_putchar_drawchar(window, x, y, chr);
+		video_putchar_drawchar(window, x * 8, y, chr);
 	}
 }
 


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