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);