[Scummvm-cvs-logs] SF.net SVN: scummvm:[45394] scummvm/trunk/engines/scumm/cursor.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Oct 26 10:13:58 CET 2009
Revision: 45394
http://scummvm.svn.sourceforge.net/scummvm/?rev=45394&view=rev
Author: Kirben
Date: 2009-10-26 09:13:58 +0000 (Mon, 26 Oct 2009)
Log Message:
-----------
Ooops, that part should not have been commited.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/cursor.cpp
Modified: scummvm/trunk/engines/scumm/cursor.cpp
===================================================================
--- scummvm/trunk/engines/scumm/cursor.cpp 2009-10-26 09:11:18 UTC (rev 45393)
+++ scummvm/trunk/engines/scumm/cursor.cpp 2009-10-26 09:13:58 UTC (rev 45394)
@@ -364,10 +364,10 @@
s.pixels = buf;
s.w = _charset->getCharWidth(chr);
s.h = _charset->getFontHeight();
- s.pitch = s.w * _bytesPerPixel;
+ s.pitch = s.w;
// s.h = 17 for FM-TOWNS Loom Japanese. Fixes bug #1166917
assert(s.w <= 16 && s.h <= 17);
- s.bytesPerPixel = _bytesPerPixel;
+ s.bytesPerPixel = 1;
_charset->drawChar(chr, s, 0, 0);
@@ -378,7 +378,7 @@
if (buf[s.pitch * h + w] != 123)
*ptr |= 1 << (15 - w);
}
- ptr += _bytesPerPixel;
+ ptr++;
}
// _charset->setCurID(oldID);
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