summaryrefslogtreecommitdiff
path: root/src/interface/Textbox.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-28 21:14:38 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-28 21:14:38 (GMT)
commitdf3b1e2a6210b45df8bcace1db81a0a0881efbab (patch)
tree520f92934157c28b9887fa3107ec9c4a82c73f99 /src/interface/Textbox.cpp
parentc14a008d463dab4e6e2168fa28afb26384432b36 (diff)
downloadpowder-df3b1e2a6210b45df8bcace1db81a0a0881efbab.zip
powder-df3b1e2a6210b45df8bcace1db81a0a0881efbab.tar.gz
Implement search for DirectoryList
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 54c6e75..ad5597f 100644
--- a/src/interface/Textbox.cpp
+++ b/src/interface/Textbox.cpp
@@ -14,7 +14,8 @@ Textbox::Textbox(Point position, Point size, std::string textboxText, std::strin
actionCallback(NULL),
masked(false),
border(true),
- mouseDown(false)
+ mouseDown(false),
+ limit(0)
{
placeHolder = textboxPlaceholder;