Fix corrupted Fl_File_Chooser sources...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2002-08-30 18:19:31 +00:00
parent bdcced818d
commit a79854777c
2 changed files with 20 additions and 2 deletions

View File

@ -246,7 +246,16 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char
}
callback_ = 0;
data_ = 0;
directory_[0] = '\0';
directory_[0] = 0;
window->size_range(window->w(), window->h(), Fl::w(), Fl::h());
type(t);
filter(p);
update_favorites();
value(d);
type(t);
int e;
prefs_.get("preview", e, 1);
preview(e);
}
Fl_File_Chooser::~Fl_File_Chooser() {

View File

@ -166,7 +166,16 @@ window->hide();}
}
code {callback_ = 0;
data_ = 0;
directory_[0] = '\0';} {}
directory_[0] = 0;
window->size_range(window->w(), window->h(), Fl::w(), Fl::h());
type(t);
filter(p);
update_favorites();
value(d);
type(t);
int e;
prefs_.get("preview", e, 1);
preview(e);} {}
}
Function {~Fl_File_Chooser()} {open
} {