From 4ed37cb5be24506932378ade19e99b3187e403ed Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 26 Jul 2013 17:02:55 +0200 Subject: [PATCH] Indentation fix in main() --- src/gradix.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/gradix.c b/src/gradix.c index 3e26a06..3bcdde7 100644 --- a/src/gradix.c +++ b/src/gradix.c @@ -332,17 +332,18 @@ main(int argc, char *argv[]) swe_set_ephe_path(EPHEDIR); - if (set_location_and_time(lon, lat, alt, year, month, day, hour, min, sec, timezone, &te) == 0) { - return 1; - } - printf("date: %02d.%02d.%d at %02d:%02d:%02d, at %f, %f\n", year, month, day, hour, min, sec, lon, lat); + if (set_location_and_time(lon, lat, alt, year, month, day, hour, min, sec, timezone, &te) == 0) { + return 1; + } - swe_houses(te, lat, lon, 'P', cusps, ascmc); + printf("date: %02d.%02d.%d at %02d:%02d:%02d, at %f, %f\n", year, month, day, hour, min, sec, lon, lat); - for (p = 1; p < 13; p++) { - printf("House %2d..: %2.0f (%f)\n", p, ceilf(cusps[p] / 30.0), cusps[p]); - } + swe_houses(te, lat, lon, 'P', cusps, ascmc); + + for (p = 1; p < 13; p++) { + printf("House %2d..: %2.0f (%f)\n", p, ceilf(cusps[p] / 30.0), cusps[p]); + } get_moon_phase(year, month, day, hour, min, sec); printf("Asc.......: %.0f\n", ceilf(ascmc[0] / 30.0));