summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-31 01:46:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-31 01:46:51 +0300
commit0fd7a7f6b322fcf98297dbc64632e009afb6d4ac (patch)
treed2951ad76117a1bf4cda5c5b5ea39f35773dcecd /src/gui/widgets/textfield.h
parent32ddb3eb7bf5d25f3787258cb8b3ce0f0e3463c1 (diff)
downloadplus-0fd7a7f6b322fcf98297dbc64632e009afb6d4ac.tar.gz
plus-0fd7a7f6b322fcf98297dbc64632e009afb6d4ac.tar.bz2
plus-0fd7a7f6b322fcf98297dbc64632e009afb6d4ac.tar.xz
plus-0fd7a7f6b322fcf98297dbc64632e009afb6d4ac.zip
Add max chars limit for textfields.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index bc1123f19..fef606526 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -114,7 +114,7 @@ class TextField : public gcn::TextField
static ImageRect skin;
bool mNumeric;
int mMinimum;
- int mMaximum;
+ unsigned mMaximum;
bool mLoseFocusOnTab;
int mLastEventPaste;
};