From a11a31ff78af62e73735b5e012849523a612e26a Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 5 Aug 2002 17:50:25 +0000 Subject: Range check Fl_Text_Buffer::search_forward(). Don't use png_read_destroy() - it doesn't free all memory. Add uncache() method to image classes. Memory/initialization bugs in Fl_File_Chooser (valgrind) Make sure both Fl_Window constructors have default cursor initialization code... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_File_Chooser.cxx') diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 7dfdd88ef..8ca8c9e21 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -246,7 +246,9 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char } callback_ = 0; data_ = 0; +directory_[0] = '\0'; window->size_range(window->w(), window->h(), Fl::w(), Fl::h()); +type(t); filter(p); update_favorites(); value(d); -- cgit v1.2.3