1
0
Fork 0

Process satid with GNU indent

spacecruft
Jeff Moe 2022-08-20 16:16:06 -06:00
parent 905e7eca2f
commit e8e821d040
1 changed files with 27 additions and 24 deletions

View File

@ -207,7 +207,8 @@ plot_satellites (char *tlefile, struct image img, long satno, double mjd0,
if (x > 0.0 && x < img.naxis1 && y > 0.0 && y < img.naxis2
&& textflag == 0)
{
if (flag != 0) {
if (flag != 0)
{
giza_draw_float (x, y);
giza_move_float (x, y);
}
@ -311,14 +312,16 @@ main (int argc, char *argv[])
wx = img.naxis1 * sx / 3600.0;
wy = img.naxis2 * sy / 3600.0;
if (argc == 3) {
if (argc == 3)
{
giza_open_device_size_float ("/png", "satid", 680, 680, 3);
giza_set_colour_palette (1);
giza_set_font ("Helvetica");
giza_set_colour_representation_float (0, 0.0, 0.0, 0.0);
giza_draw_background ();
}
else {
else
{
giza_open_device_size_float ("/xs", "satid", 680, 680, 3);
giza_set_colour_palette (1);
giza_set_font ("Helvetica");