summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-28 09:16:57 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-28 09:16:57 -0700
commit571bdb82402f1cd59182f9ebdff17aab9d9c9d56 (patch)
tree6b953a1f70de6448b3b87091044e0eea12d438f6 /src/gui
parentca2950fb8bffa9924aa49ab1d4729dbc2a391752 (diff)
downloadmana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.tar.gz
mana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.tar.bz2
mana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.tar.xz
mana-571bdb82402f1cd59182f9ebdff17aab9d9c9d56.zip
Increase integer input default maximum to 2^31-1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/npcdialog.h3
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);