From 1ce815d60e08c92a59ae5a495f9e51101068019e Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Thu, 22 Aug 2013 23:38:33 +0200 Subject: [PATCH] Put some lines in logical order --- src/astrognome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/astrognome.c b/src/astrognome.c index 511dfb9..8d8316e 100644 --- a/src/astrognome.c +++ b/src/astrognome.c @@ -167,8 +167,8 @@ check_aspects_inner_loop(gpointer data, gpointer user_data) g_assert(outerPlanetData != NULL); g_assert(innerPlanetData != NULL); - distance = fabs(outerPlanet->position - innerPlanet->position); planetOrb = fmin(outerPlanetData->orb, innerPlanetData->orb); + distance = fabs(outerPlanet->position - innerPlanet->position); if (distance > 180.0) { distance = 360.0 - distance;