Hello,
The documentation for fl_file_chooser does not indicate who is responsible
for the returned char*. I'm probably wrong, but I believe that
fl_file_chooser used to return "const char*" It now returns "char*"?
I've checked fl_file_dir.cxx and, from what I can see, the return value is a
pointer to a local, static char array.
Therefore, should the return value be "const char*" or should the docs for
fl_file_chooser be updated to include a statement like:
"The returned value is an array of size 1024 and will change by the
next
call to this function"
Oh, and should I have posted this in fltk.development instead of here?
Cheers,
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk