"Curtis L. Olson" <[EMAIL PROTECTED]> said:

> Geoff McLane writes:
> > Also have noted a few changes of, like -
> >   318  !>     if ( fgGetString("/sim/startup/units") == "meters") {
> > to
> >   318  <!     if ( !strcmp("/sim/startup/units", "meters")) {
> > but am i missing something here? To compare 2
> > different strings will always be non-zero ...
> > 
> > Shouldn't these be
> >   318  <!     if ( !strcmp( fgGetString("/sim/startup/units"), "meters"))
> > {
> 
> Wow, I've looked at those in the code many times since the change and
> it never hit me that this was wrong.  Good catch, I've fixed these up

Hehe me too. It sure explains those feet/meter problems.

Best,

Jim

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to