changeset 918:59615f9c2ca9

Cosmetic.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 05:16:22 +0200
parents df3a74f230d9
children 5a4d68b86c5b
files tools/lib64gfx.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Wed Feb 25 03:53:34 2015 +0200
+++ b/tools/lib64gfx.c	Wed Feb 25 05:16:22 2015 +0200
@@ -888,8 +888,8 @@
             {
                 const int x = xc / 8;
                 const int scroffs = scroffsy + x;
+                const int chr = src->screen[0][scroffs];
                 const int v = 7 - (xc & 7);
-                const int chr = src->screen[0][scroffs];
 
                 if ((src->charmem[chr][yb] >> v) & 1)
                     *d++ = src->color[0][scroffs];
@@ -906,8 +906,8 @@
             {
                 const int x = xc / 4;
                 const int scroffs = scroffsy + x;
+                const int chr = src->screen[0][scroffs];
                 const int v = 6 - ((xc * 2) & 6);
-                const int chr = src->screen[0][scroffs];
                 Uint8 c;
             
                 switch ((src->charmem[chr][yb] >> v) & 3)