summaryrefslogtreecommitdiff
path: root/src/interface/Textbox.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-09 19:38:06 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-09 19:38:06 (GMT)
commitac45502de917bae206ae511366926c235d7bff1d (patch)
treef698a87a306bcc81cb670e1a5a32d17e6fabdfd0 /src/interface/Textbox.cpp
parent3bdfd510b292db5acdcb2f74989dfa2fcd18a434 (diff)
downloadpowder-ac45502de917bae206ae511366926c235d7bff1d.zip
powder-ac45502de917bae206ae511366926c235d7bff1d.tar.gz
Ensure keyrepeat is disabled at component creation
Diffstat (limited to 'src/interface/Textbox.cpp')
-rw-r--r--src/interface/Textbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/Textbox.cpp b/src/interface/Textbox.cpp
index 71a485e..341e4f5 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;