summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_File_Chooser2.cxx')
-rw-r--r--src/Fl_File_Chooser2.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index 1e7aeb0d3..cbd5cad28 100644
--- a/src/Fl_File_Chooser2.cxx
+++ b/src/Fl_File_Chooser2.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.27 2002/11/19 16:37:34 easysw Exp $"
+// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.28 2002/11/20 15:49:24 easysw Exp $"
//
// More Fl_File_Chooser routines.
//
@@ -119,6 +119,9 @@ Fl_File_Chooser::count()
{
// Check to see if the file name input field is blank...
filename = fileName->value();
+
+// printf("Fl_File_Chooser::count(): filename=\"%s\"\n", filename);
+
if (filename == NULL || filename[0] == '\0')
return (0);
@@ -413,6 +416,7 @@ Fl_File_Chooser::fileListCB()
filename = pathname + strlen(pathname) - 1;
if (*filename == '/') *filename = '\0';
+// puts("Setting fileName from fileListCB...");
fileName->value(pathname);
// Update the preview box...
@@ -448,6 +452,8 @@ Fl_File_Chooser::fileNameCB()
const char *file; // File from directory
+// puts("fileNameCB()");
+
// Get the filename from the text field...
filename = (char *)fileName->value();
@@ -785,6 +791,7 @@ Fl_File_Chooser::rescan()
if (pathname[0] && pathname[strlen(pathname) - 1] != '/') {
strlcat(pathname, "/", sizeof(pathname));
}
+// puts("Setting fileName in rescan()");
fileName->value(pathname);
if (type_ & DIRECTORY)
@@ -1152,5 +1159,5 @@ unquote_pathname(char *dst, // O - Destination string
//
-// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.27 2002/11/19 16:37:34 easysw Exp $".
+// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.28 2002/11/20 15:49:24 easysw Exp $".
//