1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
@@ -1494,7 +1494,7 @@
else
printf(" jul.");
jd_to_time_string(jut, stimeout);
- printf(stimeout);
+ puts(stimeout);
if (universal_time) {
if (time_flag & BIT_TIME_LMT)
printf(" LMT");
@@ -2000,7 +2000,7 @@
/* close open files and free allocated space */
end_main:
if (do_set_astro_models) {
- printf(smod);
+ puts(smod);
}
swe_close();
return OK;
@@ -2191,7 +2191,7 @@
printf("%02d%02d%02d", jyear % 100, jmon, jday);
break;
case 'L':
- if (is_label) { printf(slon); break; }
+ if (is_label) { puts(slon); break; }
if (psp != NULL && (*psp == 'q' || *psp == 'y')) { /* delta t or time equation */
printf("%# 11.7f", x[0]);
printf("s");
@@ -2200,7 +2200,7 @@
fputs(dms(x[0], round_flag),stdout);
break;
case 'l':
- if (is_label) { printf(slon); break; }
+ if (is_label) { puts(slon); break; }
if (output_extra_prec)
printf("%# 11.11f", x[0]);
else
@@ -2219,7 +2219,7 @@
printf("%# 11.7f", hposj);
break;
case 'Z':
- if (is_label) { printf(slon); break; }
+ if (is_label) { puts(slon); break; }
fputs(dms(x[0], round_flag|BIT_ZODIAC),stdout);
break;
case 'S':
|