1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00

Fixed a bug (Greg King).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5104 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-08-01 20:59:33 +00:00
parent 1f95085ffe
commit 03b147e71e

View File

@ -29,7 +29,7 @@ Text := ptr3
;
.code
.proc _tgi_gettextwidth
.proc _tgi_gettextwidth
ldy _tgi_font
bne @L1 ; Jump if vector font
@ -37,7 +37,7 @@ Text := ptr3
; Return the width of the string for the bitmap font
ldy _tgi_charwidth
sta ptr1
sty ptr1
jsr _strlen
jsr umul8x16r16
ldy _tgi_textscalew+2 ; Get rounded scale factor