From 03b147e71e10d3160fae27dade20b134e87cefdb Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 1 Aug 2011 20:59:33 +0000 Subject: [PATCH] Fixed a bug (Greg King). git-svn-id: svn://svn.cc65.org/cc65/trunk@5104 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/tgi/tgi_gettextwidth.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/tgi/tgi_gettextwidth.s b/libsrc/tgi/tgi_gettextwidth.s index 9b39fb6a6..996910c3c 100644 --- a/libsrc/tgi/tgi_gettextwidth.s +++ b/libsrc/tgi/tgi_gettextwidth.s @@ -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 -- 2.39.5