aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/gui/gui_gfx.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp
index 49ed3b4b5b..82ce4b7778 100644
--- a/engines/sci/gui/gui_gfx.cpp
+++ b/engines/sci/gui/gui_gfx.cpp
@@ -833,7 +833,6 @@ void SciGuiGfx::TexteditChange(reg_t controlObject, reg_t eventObject) {
SegManager *segMan = _s->_segMan;
uint16 cursorPos = GET_SEL32V(controlObject, cursor);
uint16 maxChars = GET_SEL32V(controlObject, max);
- uint16 oldCursor = cursorPos;
reg_t textReference = GET_SEL32(controlObject, text);
Common::String text;
uint16 textSize, eventType, eventKey;