On 18 May 2011, at 21:48, Mark Mcvittie wrote:
> Thanks for the code. In fl_help_view, getcwd() is used twice but I think this > needs to be fixed. I am going to try making your platform-specific code into > a function to replace out getcwd(). The "usual" workaround - and one which I think the fl_help_view demo supports - is to use environment vars to tell the app where to look for stuff. If you set up the env vars right, the help_view demo does the Right Thing to find and load the docs. That might be easier than trying to subvert the behaviour of getcwd() - it may not be returning what you expect, but it's behaviour is "well established" even if it's not quite what we want! _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

