From b68578f1d9fc889c8a5a6943a6f94f5a82d7f73b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 17 Aug 2013 15:06:07 -0700 Subject: [PATCH] Eliminate a bogus limit of 100 for a bunch of rarely-used options --- aegisub/src/preferences_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/preferences_base.h b/aegisub/src/preferences_base.h index 810afffff..cda47beed 100644 --- a/aegisub/src/preferences_base.h +++ b/aegisub/src/preferences_base.h @@ -43,7 +43,7 @@ protected: wxFlexGridSizer* PageSizer(wxString name); void CellSkip(wxFlexGridSizer *flex); - wxControl *OptionAdd(wxFlexGridSizer *flex, const wxString &name, const char *opt_name, double min=0, double max=100, double inc=1); + wxControl *OptionAdd(wxFlexGridSizer *flex, const wxString &name, const char *opt_name, double min=0, double max=INT_MAX, double inc=1); void OptionChoice(wxFlexGridSizer *flex, const wxString &name, const wxArrayString &choices, const char *opt_name); void OptionBrowse(wxFlexGridSizer *flex, const wxString &name, const char *opt_name, wxControl *enabler = 0, bool do_enable = false); void OptionFont(wxSizer *sizer, std::string opt_prefix);