diff options
Diffstat (limited to 'engines/agi/text.cpp')
-rw-r--r-- | engines/agi/text.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp index 62590737c3..7c8594b62a 100644 --- a/engines/agi/text.cpp +++ b/engines/agi/text.cpp @@ -66,6 +66,7 @@ TextMgr::TextMgr(AgiEngine *vm, Words *words, GfxMgr *gfx) { _inputStringRow = 0; _inputStringColumn = 0; + _inputStringEntered = false; _inputStringMaxLen = 0; _inputStringCursorPos = 0; _inputString[0] = 0; @@ -169,7 +170,7 @@ void TextMgr::charAttrib_Set(byte foreground, byte background) { if (background) { _textAttrib.combinedForeground = 3; _textAttrib.combinedBackground = 8; // enable invert of colors - } else if (foreground > 14) { + } else { if (foreground > 14) { _textAttrib.combinedForeground = 3; } else { |