Indentation fix in set_location_and_time()
This commit is contained in:
parent
cf7f5135f1
commit
eb23cb8c49
@ -218,6 +218,7 @@ set_location_and_time(double lon, double lat, double alt, int year, int month, i
|
|||||||
|
|
||||||
swe_set_topo(lon, lat, alt);
|
swe_set_topo(lon, lat, alt);
|
||||||
swe_utc_time_zone(year, month, day, hour, min, sec, d_timezone, &utc_year, &utc_month, &utc_day, &utc_hour, &utc_min, &utc_sec);
|
swe_utc_time_zone(year, month, day, hour, min, sec, d_timezone, &utc_year, &utc_month, &utc_day, &utc_hour, &utc_min, &utc_sec);
|
||||||
|
|
||||||
if ((retval = swe_utc_to_jd(utc_year, utc_month, utc_day, utc_hour, utc_min, utc_sec, SE_GREG_CAL, dret, serr)) == ERR) {
|
if ((retval = swe_utc_to_jd(utc_year, utc_month, utc_day, utc_hour, utc_min, utc_sec, SE_GREG_CAL, dret, serr)) == ERR) {
|
||||||
printf("error: %s\n", serr);
|
printf("error: %s\n", serr);
|
||||||
|
|
||||||
@ -229,7 +230,6 @@ set_location_and_time(double lon, double lat, double alt, int year, int month, i
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
moonPhase *
|
moonPhase *
|
||||||
get_moon_phase(gint year, gint month, gint day, gint hour, gint min, gint sec)
|
get_moon_phase(gint year, gint month, gint day, gint hour, gint min, gint sec)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user