An ifdef WIN32 (like in other places) could be done, I guess. It would perhaps be a little nicer if the OS specific code could be limited to as few files as possible...

The code (fgfsrc.cxx lines 378 and 379) would be replaced by:

[CODE]
        if ( strlen( buf ) > 0 )
#ifdef  WIN32
            os << pfx << "\"--prop:" << buf << "\"";
#else
            os << pfx << "--prop:" << buf;
#endif

[/CODE]

m

Op 27-05-10 16:31, Frederic Bouvier schreef:

----- fiers...@zonnet.nl a écrit :
> Friends, can I briefly talk about fgrun, please?
[...]
> Is there anybody that likes to comment on my suggestions and/or willing to look into the specifics for windows?

And what about a #ifdef Linux ?

-Fred

--
Frédéric Bouvier
http://my.fotolia.com/frfoto/              Photo gallery - album photo
http://www.youtube.com/user/fgfred64       Videos


------------------------------------------------------------------------------


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

------------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to