diff --git a/projects/examples/gui/label.usm b/projects/examples/gui/label.usm index dc04af6..f84f614 100644 --- a/projects/examples/gui/label.usm +++ b/projects/examples/gui/label.usm @@ -75,7 +75,7 @@ RTN @draw-label-right ( x y color addr -- ) ( load ) .label/addr STZ2 .label/color STZ .Screen/y DEO2 - ( align ) .label/addr LDZ2 ;get-text-length JSR2 #0008 MUL2 SUB2 #0008 SUB2 .Screen/x DEO2 + ( align ) .label/addr LDZ2 ;get-text-length JSR2 #0008 MUL2 SUB2 .Screen/x DEO2 .label/addr LDZ2 &loop ( draw ) DUP2 LDA #00 SWP #0008 MUL2 ;font ADD2 .Screen/addr DEO2 .label/color LDZ .Screen/color DEO