Fix the bracket display.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 12 Feb 2005 13:48:18 +0000 (13:48 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 12 Feb 2005 13:48:18 +0000 (13:48 +0000)
reports.c

index ed1a14420e049d0e167a7657fa9650fde64ba186..39f6930ba35e880ee550775b3f0910e42f14fc30 100644 (file)
--- a/reports.c
+++ b/reports.c
@@ -208,7 +208,7 @@ void chart(int nn)
        proutn("%d |", i);
        for_quadrants(j) {
            char buf[4];
-           if ((game.options & OPTION_SHOWME) && i == quady && j == quadx)
+           if ((game.options & OPTION_SHOWME) && i == quadx && j == quady)
                proutn("<");
            else
                proutn(" ");
@@ -224,7 +224,7 @@ void chart(int nn)
                if (*cp == '0')
                    *cp = '.';
            proutn(buf);
-           if ((game.options & OPTION_SHOWME) && i == quady && j == quadx)
+           if ((game.options & OPTION_SHOWME) && i == quadx && j == quady)
                proutn(">");
            else
                proutn(" ");