aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sherlock.h
diff options
context:
space:
mode:
authorThierry Crozat2016-04-13 21:08:17 +0100
committerThierry Crozat2016-04-13 21:08:31 +0100
commit323549316decba7460edb346a950890b26585ccc (patch)
treea8679acd3d6baaf9f52e6a572a1fcef65df4e111 /engines/sherlock/sherlock.h
parentb4a3c06d911c488c8afc10ea3405b1d8ac053ef3 (diff)
downloadscummvm-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/sherlock.h')
0 files changed, 0 insertions, 0 deletions