filter: Fix coding style
authorJonas Ådahl <jadahl@gmail.com>
Sat, 24 May 2014 20:00:46 +0000 (22:00 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 26 May 2014 20:59:43 +0000 (22:59 +0200)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/filter.c

index 2b1a675..2c23da1 100644 (file)
@@ -103,8 +103,7 @@ get_direction(int dx, int dy)
                        dir = SE | S | SW;
                else if (dy < 0)
                        dir = NE | N | NW;
                        dir = SE | S | SW;
                else if (dy < 0)
                        dir = NE | N | NW;
-       }
-       else {
+       } else {
                /* Calculate r within the interval  [0 to 8)
                 *
                 * r = [0 .. 2π] where 0 is North
                /* Calculate r within the interval  [0 to 8)
                 *
                 * r = [0 .. 2π] where 0 is North