From ac45502de917bae206ae511366926c235d7bff1d Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Thu, 9 Aug 2012 20:38:06 +0100 Subject: [PATCH] Ensure keyrepeat is disabled at component creation --- src/interface/Textbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interface/Textbox.cpp b/src/interface/Textbox.cpp index 71a485e37..341e4f5dc 100644 --- a/src/interface/Textbox.cpp +++ b/src/interface/Textbox.cpp @@ -18,7 +18,8 @@ Textbox::Textbox(Point position, Point size, std::string textboxText, std::strin mouseDown(false), limit(std::string::npos), inputType(All), - keyDown(0) + keyDown(0), + characterDown(0) { placeHolder = textboxPlaceholder;