diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp index 608823fd42e35ec4b66198f8e87d12d277adad8d..0a2de56c10d7c076dff5c74c62e99c5fab2c1618 100644 --- a/Fltk/Callbacks.cpp +++ b/Fltk/Callbacks.cpp @@ -1,4 +1,4 @@ -// $Id: Callbacks.cpp,v 1.158 2002-11-25 04:39:42 geuzaine Exp $ +// $Id: Callbacks.cpp,v 1.159 2003-01-15 02:28:56 geuzaine Exp $ // // Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle // @@ -113,6 +113,13 @@ int file_chooser(int multi, const char* message, const char* pat, int patindex){ } char* file_chooser_get_name(int num){ + //we could use this the ease the pain on windows + //(/c/cygdrive/... absolute paths are not recognized by windows) + + //static char retname[1024]; + //fl_filename_relative(retname, sizeof(retname), fc->value(num)); + //return retname; + return (char*)fc->value(num); }