[Scummvm-git-logs] scummvm master -> 3e27d2499439fd51af682c887627a3632ff7ca1b
bluegr
bluegr at gmail.com
Tue Mar 30 23:03:24 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:
3e27d24994 SCUMM: Fix calculation of arrow position on Hebrew
Commit: 3e27d2499439fd51af682c887627a3632ff7ca1b
https://github.com/scummvm/scummvm/commit/3e27d2499439fd51af682c887627a3632ff7ca1b
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-03-31T02:03:21+03:00
Commit Message:
SCUMM: Fix calculation of arrow position on Hebrew
The text buffer starts on the i offset. This was overlooked in the original
patch.
This amends commit 89c5cd5e5d81d780c74bf5da01ac6fb227e0695c.
Changed paths:
engines/scumm/string.cpp
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 9a9bb7beca..6eeb2e809f 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -1123,7 +1123,7 @@ void ScummEngine::drawString(int a, const byte *msg) {
if (_charset->_center) {
_charset->_left = _charset->_startLeft - _charset->getStringWidth(a, buf + i);
} else if (_game.version >= 4 && _game.version < 7 && _game.heversion == 0 && _language == Common::HE_ISR) {
- _charset->_left = _screenWidth - _charset->_startLeft - _charset->getStringWidth(a, buf);
+ _charset->_left = _screenWidth - _charset->_startLeft - _charset->getStringWidth(a, buf + i);
} else {
_charset->_left = _charset->_startLeft;
}
More information about the Scummvm-git-logs
mailing list