1
0
Fork 0

heh, no. That's BS. printf does rounding already. Remains the heading

limitation to avoid 360 degree.
This commit is contained in:
mfranz 2006-07-12 21:24:02 +00:00
parent 96b3c3854f
commit a70ed967f1

View file

@ -101,9 +101,8 @@
<height>40</height> <height>40</height>
<input> <input>
<property>/velocities/airspeed-kt</property> <property>/velocities/airspeed-kt</property>
<offset>0.5</offset>
</input> </input>
<format>%4ld</format> <format>%4.0f</format>
<halign>left</halign> <halign>left</halign>
</label> </label>
@ -125,9 +124,8 @@
<height>40</height> <height>40</height>
<input> <input>
<property>/position/altitude-ft</property> <property>/position/altitude-ft</property>
<offset>0.5</offset>
</input> </input>
<format>%4ld</format> <format>%4.0f</format>
<halign>left</halign> <halign>left</halign>
</label> </label>
@ -177,10 +175,9 @@
<height>2</height> <height>2</height>
<input> <input>
<property>/orientation/heading-deg</property> <property>/orientation/heading-deg</property>
<offset>0.5</offset>
<max>359.999</max> <max>359.999</max>
</input> </input>
<format>%04ld</format> <format>%04.0f</format>
<halign>left</halign> <halign>left</halign>
<modulo>360</modulo> <modulo>360</modulo>
</label> </label>