summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 18:26:54 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 18:26:54 +0000
commit1d56e20d199d75470fc9562795fc6f72b183c948 (patch)
treed54268bbeddf22cd1b224f22e1fe4fe5fd649549 /src
parent8025bf725102c67f863df036392d118549bd2125 (diff)
Fix a bug in the filename completion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_File_Chooser2.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index b09ae539a..6109544b5 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.19 2002/07/14 18:18:59 easysw Exp $"
+// "$Id: Fl_File_Chooser2.cxx,v 1.1.2.20 2002/07/14 18:26:54 easysw Exp $"
//
// More Fl_File_Chooser routines.
//
@@ -538,6 +538,9 @@ Fl_File_Chooser::fileNameCB()
directory(pathname);
+ snprintf(pathname, sizeof(pathname), "%s/%s", directory_, filename);
+ fileName->value(pathname);
+
fileName->position(p, m);
}
}
@@ -1135,5 +1138,5 @@ unquote_pathname(char *dst, // O - Destination string
//
-// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.19 2002/07/14 18:18:59 easysw Exp $".
+// End of "$Id: Fl_File_Chooser2.cxx,v 1.1.2.20 2002/07/14 18:26:54 easysw Exp $".
//