diff options
author | Thierry Crozat | 2016-04-13 21:08:17 +0100 |
---|---|---|
committer | Thierry Crozat | 2016-04-13 21:08:31 +0100 |
commit | 323549316decba7460edb346a950890b26585ccc (patch) | |
tree | a8679acd3d6baaf9f52e6a572a1fcef65df4e111 /engines/sherlock/events.cpp | |
parent | b4a3c06d911c488c8afc10ea3405b1d8ac053ef3 (diff) | |
download | scummvm-rg350-323549316decba7460edb346a950890b26585ccc.tar.gz scummvm-rg350-323549316decba7460edb346a950890b26585ccc.tar.bz2 scummvm-rg350-323549316decba7460edb346a950890b26585ccc.zip |
DRASCULA: Improve text centering
When splitting strings into several lines to fit on the screen the
original engine could result in lines with one character beyond
the right edge of the screen, which in practice would be drawn
on the next line on its own, aligned to the left (and not centered).
This commits adds a check to avoid this situation. So although
it now behaves slightly differently than the original engine this
is for the better.
Diffstat (limited to 'engines/sherlock/events.cpp')
0 files changed, 0 insertions, 0 deletions