From 571bdb82402f1cd59182f9ebdff17aab9d9c9d56 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 28 Jan 2010 09:16:57 -0700 Subject: Increase integer input default maximum to 2^31-1 --- src/gui/npcdialog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h index 7cce0b80..eabca159 100644 --- a/src/gui/npcdialog.h +++ b/src/gui/npcdialog.h @@ -139,7 +139,8 @@ class NpcDialog : public Window, public gcn::ActionListener, /** * Requests a interger from the user. */ - void integerRequest(int defaultValue = 0, int min = 0, int max = 2000); + void integerRequest(int defaultValue = 0, int min = 0, + int max = 2147483647); void move(int amount); -- cgit v1.2.3-70-g09d2