aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/charset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/simon/charset.cpp')
-rw-r--r--engines/simon/charset.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/simon/charset.cpp b/engines/simon/charset.cpp
index 8a3b331970..5f40e2f688 100644
--- a/engines/simon/charset.cpp
+++ b/engines/simon/charset.cpp
@@ -408,7 +408,7 @@ void SimonEngine::windowPutChar(WindowBlock *window, byte c, byte b) {
} else if (c == 13 || c == 10) {
video_putchar_newline(window);
} else if ((c == 1 && _language != Common::HB_ISR) || (c == 8)) {
- if (_language == Common::HB_ISR) { //Hebrew
+ if (_language == Common::HB_ISR) {
if (b >= 64 && b < 91)
width = _hebrewCharWidths [b - 64];
@@ -446,13 +446,13 @@ void SimonEngine::windowPutChar(WindowBlock *window, byte c, byte b) {
window->textRow--;
}
- if (_language == Common::HB_ISR) { //Hebrew
+ if (_language == Common::HB_ISR) {
if (c >= 64 && c < 91)
width = _hebrewCharWidths [c - 64];
- window->textColumnOffset -= width;
+ window->textColumnOffset -= width;
if (window->textColumnOffset >= width) {
- window->textColumn++;
window->textColumnOffset += 8;
+ window->textColumn++;
}
video_putchar_drawchar(window, (window->width + window->x - window->textColumn) * 8, window->textRow * 8 + window->y, c);
window->textLength++;