From 0fd7a7f6b322fcf98297dbc64632e009afb6d4ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Jan 2012 01:46:51 +0300 Subject: Add max chars limit for textfields. --- src/gui/widgets/textfield.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/textfield.h') 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; }; -- cgit v1.2.3-70-g09d2