* Melchior FRANZ -- Thursday 16 October 2008:
> Could you put some debug messages in
> $FG_ROOT/gui/dialogs/file-select.xml,

Since the last Nasal update it's now really broken, just like
the ufo's model selection dialog. You can hack around that by
adding these lines somewhere on the bottom of $FG_ROOT/Nasal/io.nas:

  stat = (func { var _ = stat; func(f) _(caller()[0]["\x01"] = f) })();
  isdir = func directory(caller()[0]["\x01"]) != nil;

That's also my submission for the "Obfuscated Nasal Contest".

m.   ;-)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to