[Scummvm-cvs-logs] SF.net SVN: scummvm: [22664] scummvm/trunk/engines/kyra/kyra3.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Fri May 26 09:03:11 CEST 2006


Revision: 22664
Author:   eriktorbjorn
Date:     2006-05-26 09:02:37 -0700 (Fri, 26 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22664&view=rev

Log Message:
-----------
This produces the correct character spacing for the main menu.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra3.cpp
Modified: scummvm/trunk/engines/kyra/kyra3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra3.cpp	2006-05-26 15:55:42 UTC (rev 22663)
+++ scummvm/trunk/engines/kyra/kyra3.cpp	2006-05-26 16:02:37 UTC (rev 22664)
@@ -202,6 +202,7 @@
 	Screen::FontId oldFont = _screen->setFont(Screen::FID_8_FNT);
 	int charWidthBackUp = _screen->_charWidth;
 	
+	_screen->_charWidth = -2;
 	_screen->setScreenDim(3);
 	_screen->copyCurPageBlock(_screen->_curDim->sx, _screen->_curDim->sy, _screen->_curDim->w, _screen->_curDim->h, _screen->getPagePtr(3));
 


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