aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/text_cursor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/text_cursor.cpp')
-rw-r--r--engines/titanic/support/text_cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/support/text_cursor.cpp b/engines/titanic/support/text_cursor.cpp
index c3d2f20f84..dc78d5350d 100644
--- a/engines/titanic/support/text_cursor.cpp
+++ b/engines/titanic/support/text_cursor.cpp
@@ -32,7 +32,7 @@ CTextCursor::CTextCursor(CScreenManager *screenManager) :
_backRenderSurface(nullptr), _frontRenderSurface(nullptr),
_blinkDelay(300), _size(2, 10), _priorBlinkTime(0),
_cursorR(0), _cursorG(0), _cursorB(0), _mode(-1) {
- screenManager->createSurface(10, 10);
+ _surface = screenManager->createSurface(10, 10);
}
CTextCursor::~CTextCursor() {