mirror of
https://github.com/cc65/cc65.git
synced 2025-02-03 07:30:52 +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:
parent
1f95085ffe
commit
03b147e71e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user