mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
fixed regression bug causing labels not to be aligned properly when near the right border
svn-id: r25665
This commit is contained in:
parent
b1a63e8a16
commit
be878d60db
@ -495,7 +495,7 @@ void jobEraseLabel(void *parm, Job *j) {
|
||||
if (_di > 190) _di = 190;
|
||||
|
||||
if (label->_cnv._width + _si > SCREEN_WIDTH)
|
||||
_si = SCREEN_WIDTH - _si;
|
||||
_si = SCREEN_WIDTH - label->_cnv._width;
|
||||
|
||||
|
||||
_vm->_graphics->restoreBackground(Graphics::_labelPosition[1]._x, Graphics::_labelPosition[1]._y, label->_cnv._width, label->_cnv._height);
|
||||
|
Loading…
x
Reference in New Issue
Block a user