[Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.80,2.81
Max Horn
fingolfin at users.sourceforge.net
Wed Jan 7 18:17:00 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse.cpp,1.10,1.11
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.97,1.98 bomp.cpp,2.15,2.16 charset.cpp,2.81,2.82 costume.cpp,1.125,1.126 gfx.cpp,2.257,2.258 gfx.h,1.57,1.58 object.cpp,1.156,1.157 script_v8.cpp,2.220,2.221
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv18593
Modified Files:
charset.cpp
Log Message:
Fix for bug #803381 (COMI: Text cut off)
Index: charset.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.cpp,v
retrieving revision 2.80
retrieving revision 2.81
diff -u -d -r2.80 -r2.81
--- charset.cpp 6 Jan 2004 12:45:30 -0000 2.80
+++ charset.cpp 8 Jan 2004 02:16:27 -0000 2.81
@@ -1298,12 +1298,15 @@
_current->drawShadowChar(chr, _left, _top - _vm->_screenTop, _color, !_ignoreCharsetMask);
_vm->markRectAsDirty(kMainVirtScreen, shadow_left, shadow_right, shadow_top, shadow_bottom, 0);
+ if (_str.left > _left)
+ _str.left = _left;
+
_left += width;
- if (shadow_right > _str.right)
+ if (_str.right < shadow_right )
_str.right = shadow_right;
- if (shadow_bottom > _str.bottom)
+ if (_str.bottom < shadow_bottom)
_str.bottom = shadow_bottom;
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse.cpp,1.10,1.11
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.97,1.98 bomp.cpp,2.15,2.16 charset.cpp,2.81,2.82 costume.cpp,1.125,1.126 gfx.cpp,2.257,2.258 gfx.h,1.57,1.58 object.cpp,1.156,1.157 script_v8.cpp,2.220,2.221
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list