From 97ef7df9f54fb3802b537c06c1f1d32c5e5333f1 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 1 Nov 2009 21:53:22 +0000 Subject: [PATCH] Fixed a bug (wrong order of variables). git-svn-id: svn://svn.cc65.org/cc65/trunk@4415 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/tgi/tgi-kernel.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/tgi/tgi-kernel.s b/libsrc/tgi/tgi-kernel.s index fff88697f..fa926895f 100644 --- a/libsrc/tgi/tgi-kernel.s +++ b/libsrc/tgi/tgi-kernel.s @@ -25,14 +25,14 @@ _tgi_color: .res 1 ; Current drawing color _tgi_textdir: .res 1 ; Current text direction ; The following two store an 8.8 fixed point value in the first two bytes, ; and a rounded integer value in the third byte. The latter is passed to the -; driver to scale the bitmap font. The variables are expected to be in +; driver to scale the bitmap font. The variables are expected to be in ; this order and adjacent. _tgi_textmagw: .res 3 ; Text magnification for the width _tgi_textmagh: .res 3 ; Text magnification for the height - + ; The following two must also be in exactly this order -_tgi_charheight: .res 1 ; Char height of system font _tgi_charwidth: .res 1 ; Char width of system font +_tgi_charheight: .res 1 ; Char height of system font ; The following variables are copied from the driver header for faster access ; fontwidth and fontheight are expected to be in order and adjacent.