Skip to content
Snippets Groups Projects
Commit 1a0b462a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

We might want to return relative file names under Windows to overcome
the silly /cygdrive/ stuff. Anyway, I leave this as a comment right
now.
parent 2b762d3d
No related branches found
No related tags found
No related merge requests found
// $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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment