aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-24 21:20:03 -0400
committerPaul Gilbert2016-08-24 21:20:03 -0400
commite81e3aefde040a9a8e133c3c1059ea66e9d91db5 (patch)
tree07e7f9bbba00462b30bd7a7a5d4b185205e0139c /engines/titanic/gfx
parent456ed176716432b8c54fae5ed252db07d1c71dd7 (diff)
downloadscummvm-rg350-e81e3aefde040a9a8e133c3c1059ea66e9d91db5.tar.gz
scummvm-rg350-e81e3aefde040a9a8e133c3c1059ea66e9d91db5.tar.bz2
scummvm-rg350-e81e3aefde040a9a8e133c3c1059ea66e9d91db5.zip
TITANIC: Implemented CMissiveOMat class
Diffstat (limited to 'engines/titanic/gfx')
-rw-r--r--engines/titanic/gfx/edit_control.cpp4
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) {