aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-06-09 08:58:18 +0000
committerTravis Howell2007-06-09 08:58:18 +0000
commit80bf4126a19ec36407935521f7e47f2987ff44b6 (patch)
tree16f61b0fa4cbeeebba194c507fdb46b3e2ece873
parent910ff9289b7024f2b2264c088116be2828ff3373 (diff)
downloadscummvm-rg350-80bf4126a19ec36407935521f7e47f2987ff44b6.tar.gz
scummvm-rg350-80bf4126a19ec36407935521f7e47f2987ff44b6.tar.bz2
scummvm-rg350-80bf4126a19ec36407935521f7e47f2987ff44b6.zip
Fix position of name text in Hebrew versions.
svn-id: r27234
-rw-r--r--engines/agos/verb.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp
index ff57ba84b4..c20c5e2089 100644
--- a/engines/agos/verb.cpp
+++ b/engines/agos/verb.cpp
@@ -296,6 +296,10 @@ void AGOSEngine::showActionString(const byte *string) {
window->textColumn = x / 8;
window->textColumnOffset = x & 7;
+ if (_language == Common::HB_ISR && window->textColumnOffset != 0) {
+ window->textColumnOffset = 8 - window->textColumnOffset;
+ window->textColumn++;
+ }
for (; *string; string++)
windowPutChar(window, *string);