Showing 1 changed files with 2 additions and 2 deletions
+2 -2
Nasal/display.nas
... ...
@@ -659,13 +659,13 @@ var displayClass = {
659 659
         var alt = data.alt;
660 660
         if (alt < 0)
661 661
             me.screenElements.Alt11100
662
-                .setText(sprintf("% 3i",math.ceil(alt/100)));
662
+                .setText(sprintf("%3d",math.ceil(alt/100)));
663 663
         elsif (alt < 100)
664 664
             me.screenElements.Alt11100
665 665
                 .setText('');
666 666
         else
667 667
             me.screenElements.Alt11100
668
-                .setText(sprintf("% 3i",math.floor(alt/100)));
668
+                .setText(sprintf("%3i",math.floor(alt/100)));
669 669
         me.screenElements.AltLint00011
670 670
             .setTranslation(0,math.fmod(alt,100) * 1.24);
671 671