[Scummvm-git-logs] scummvm master -> 1088dcf20041aa654d4ea823caaecbc1bad63f61
mgerhardy
martin.gerhardy at gmail.com
Tue Jan 5 19:59:21 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1088dcf200 TWINE: fixed horizontally overflowing text boxes
Commit: 1088dcf20041aa654d4ea823caaecbc1bad63f61
https://github.com/scummvm/scummvm/commit/1088dcf20041aa654d4ea823caaecbc1bad63f61
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-01-05T20:59:14+01:00
Commit Message:
TWINE: fixed horizontally overflowing text boxes
introduced in d6dbbe7b24f0194e3952ca39ad381c12a3d38bac
see https://bugs.scummvm.org/ticket/12048
Changed paths:
engines/twine/text.cpp
diff --git a/engines/twine/text.cpp b/engines/twine/text.cpp
index a175174f25..b7ffdd8e0f 100644
--- a/engines/twine/text.cpp
+++ b/engines/twine/text.cpp
@@ -758,7 +758,7 @@ void Text::textClipSmall() {
_dialTextBox.right = SCREEN_WIDTH - margin;
_dialTextBox.bottom = SCREEN_HEIGHT - margin;
- _dialTextBoxMaxX = SCREEN_WIDTH - 2 * margin + 2 * padding;
+ _dialTextBoxMaxX = SCREEN_WIDTH - 2 * margin - 2 * padding;
}
void Text::drawAskQuestion(int32 index) {
More information about the Scummvm-git-logs
mailing list