From 82a3c0d0f55cfed8fc6b61ba4be9669d644f62b4 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 26 Mar 2006 17:34:58 +0000 Subject: [PATCH] The revision before the previous one is partially wrong, back out the bad parts. --- src/lib/commands/spy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/commands/spy.c b/src/lib/commands/spy.c index 7f7ad731..a2c57457 100644 --- a/src/lib/commands/spy.c +++ b/src/lib/commands/spy.c @@ -253,8 +253,8 @@ static void insert(coord *table, int *len, coord x, coord y) { if (!check(table, len, x, y)) { - table[*len++] = x; - table[*len++] = y; + table[(*len)++] = x; + table[(*len)++] = y; } }