]> git.pond.sub.org Git - empserver/commitdiff
The revision before the previous one is partially wrong, back out the
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 26 Mar 2006 17:34:58 +0000 (17:34 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 26 Mar 2006 17:34:58 +0000 (17:34 +0000)
bad parts.

src/lib/commands/spy.c

index 7f7ad731be4c17e5c6fa393a69b8ca9c6aa598cb..a2c57457c033ecc030b64ced6382b034f7452af3 100644 (file)
@@ -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;
     }
 }