diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_quit.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_quit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_quit.cpp b/engines/titanic/pet_control/pet_quit.cpp index be7257f209..2f515a3235 100644 --- a/engines/titanic/pet_control/pet_quit.cpp +++ b/engines/titanic/pet_control/pet_quit.cpp @@ -37,9 +37,9 @@ bool CPetQuit::setup(CPetControl *petControl, CPetGlyphs *owner) { _text.setHasBorder(true); _text.setup(); - Rect elementRect(0, 0, 496, 388); - elementRect.moveTo(496, 388); - _element.setBounds(elementRect); + Rect btnRect(0, 0, 496, 388); + btnRect.moveTo(496, 388); + _btnYes.setBounds(btnRect); return true; } |