[Scummvm-cvs-logs] SF.net SVN: scummvm:[46461] scummvm/trunk/engines/sci/engine/kgraphics.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Dec 21 15:06:48 CET 2009


Revision: 46461
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46461&view=rev
Author:   thebluegr
Date:     2009-12-21 14:06:47 +0000 (Mon, 21 Dec 2009)

Log Message:
-----------
Fixed text controls when subtitles are enabled in multilingual SCI01 games

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-12-21 14:05:36 UTC (rev 46460)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-12-21 14:06:47 UTC (rev 46461)
@@ -722,7 +722,7 @@
 	case SCI_CONTROLS_TYPE_TEXT:
 		alignment = GET_SEL32V(s->_segMan, controlObject, mode);
 		debugC(2, kDebugLevelGraphics, "drawing text %04x:%04x ('%s') to %d,%d, mode=%d\n", PRINT_REG(controlObject), text.c_str(), x, y, alignment);
-		s->_gui->drawControlText(rect, controlObject, s->strSplit(text.c_str(), NULL).c_str(), fontId, alignment, style, hilite);
+		s->_gui->drawControlText(rect, controlObject, s->strSplit(text.c_str()).c_str(), fontId, alignment, style, hilite);
 		return;
 
 	case SCI_CONTROLS_TYPE_TEXTEDIT:


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