From b083119f50f280d47b756c68235fcfdfa05b8f2e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 29 Mar 2002 14:16:03 +0000 Subject: Fix handling of filename matching - wasn't checking the basename of the filename for a match. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Browser.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/Fl_File_Browser.cxx') diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx index f81681214..5b1bcd270 100644 --- a/src/Fl_File_Browser.cxx +++ b/src/Fl_File_Browser.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_File_Browser.cxx,v 1.1.2.7 2002/03/25 21:08:41 easysw Exp $" +// "$Id: Fl_File_Browser.cxx,v 1.1.2.8 2002/03/29 14:16:03 easysw Exp $" // // Fl_File_Browser routines. // @@ -238,10 +238,10 @@ Fl_File_Browser::item_width(void *p) const // I - List item data void Fl_File_Browser::item_draw(void *p, // I - List item data - int x, // I - Upper-lefthand X coordinate - int y, // I - Upper-lefthand Y coordinate - int w, // I - Width of item - int h) const // I - Height of item + int x, // I - Upper-lefthand X coordinate + int y, // I - Upper-lefthand Y coordinate + int w, // I - Width of item + int h) const// I - Height of item { int i; // Looping var FL_BLINE *line; // Pointer to line @@ -365,10 +365,10 @@ Fl_File_Browser::item_draw(void *p, // I - List item data // Fl_File_Browser::Fl_File_Browser(int x, // I - Upper-lefthand X coordinate - int y, // I - Upper-lefthand Y coordinate - int w, // I - Width in pixels - int h, // I - Height in pixels - const char *l) // I - Label text + int y, // I - Upper-lefthand Y coordinate + int w, // I - Width in pixels + int h, // I - Height in pixels + const char *l) // I - Label text : Fl_Browser(x, y, w, h, l) { // Initialize the filter pattern, current directory, and icon size... @@ -559,5 +559,5 @@ Fl_File_Browser::filter(const char *pattern) // I - Pattern string // -// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.7 2002/03/25 21:08:41 easysw Exp $". +// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.8 2002/03/29 14:16:03 easysw Exp $". // -- cgit v1.2.3