Remove in Fl_File_Chooser.fl max size values from Fl_Window::size_range() call

Such max values must be checked to be larger than min values, else error may occur.
This commit is contained in:
ManoloFLTK 2024-06-23 18:03:39 +02:00
parent 54cff14f87
commit d5f7a3a68b

View File

@ -242,7 +242,7 @@ hide();}
code {callback_ = 0;
data_ = 0;
directory_[0] = 0;
window->size_range(window->w(), window->h(), Fl::w(), Fl::h());
window->size_range(window->w(), window->h());
type(type_val);
filter(pattern);
update_favorites();