diff options
author | Paul Gilbert | 2013-07-28 17:07:57 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-07-28 17:07:57 -0400 |
commit | 40f82509e94a841130061296ff415048b3663571 (patch) | |
tree | cea19d9fa410fb7c28a47dd155ca9dcddb36b2a3 /engines/tsage/converse.cpp | |
parent | 2fefa91d952d775158c1b9bae2d6c5821b62d385 (diff) | |
download | scummvm-rg350-40f82509e94a841130061296ff415048b3663571.tar.gz scummvm-rg350-40f82509e94a841130061296ff415048b3663571.tar.bz2 scummvm-rg350-40f82509e94a841130061296ff415048b3663571.zip |
TSAGE: Correct R2R width of conversation dialog
Diffstat (limited to 'engines/tsage/converse.cpp')
-rw-r--r-- | engines/tsage/converse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tsage/converse.cpp b/engines/tsage/converse.cpp index d1cc7fbf71..46fb50b9ee 100644 --- a/engines/tsage/converse.cpp +++ b/engines/tsage/converse.cpp @@ -444,7 +444,8 @@ int ConversationChoiceDialog::execute(const Common::StringArray &choiceList) { _bounds.bottom -= 10; yp = 180 - _bounds.height(); _bounds.translate(0, yp); - _bounds.right = _bounds.left + 280; + _bounds.setWidth(textMaxWidth() + 15); + _bounds.moveTo(160 - (_bounds.width() / 2), _bounds.top); // Draw the dialog draw(); |