diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-01-28 09:16:57 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-28 09:16:57 -0700 |
commit | 571bdb82402f1cd59182f9ebdff17aab9d9c9d56 (patch) | |
tree | 6b953a1f70de6448b3b87091044e0eea12d438f6 | |
parent | ca2950fb8bffa9924aa49ab1d4729dbc2a391752 (diff) | |
download | mana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.tar.gz mana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.tar.bz2 mana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.tar.xz mana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.zip |
Increase integer input default maximum to 2^31-1
-rw-r--r-- | src/gui/npcdialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |