diff options
Diffstat (limited to 'engines/titanic/gfx')
-rw-r--r-- | engines/titanic/gfx/edit_control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/gfx/edit_control.cpp b/engines/titanic/gfx/edit_control.cpp index 4098220c3a..3f3c4d4035 100644 --- a/engines/titanic/gfx/edit_control.cpp +++ b/engines/titanic/gfx/edit_control.cpp @@ -190,8 +190,8 @@ bool CEditControl::EditControlMsg(CEditControlMsg *msg) { case 14: { makeDirty(); - CString borderName = _fieldF4 ? CString('*', _text.size()) : _text; - setTextBorder(borderName); + CString str = _fieldF4 ? CString('*', _text.size()) : _text; + setText(str); int textWidth = getTextWidth(); if (_fieldF0 == 2) { |