Skip to content

Commit

Permalink
Fixed a text alignment issue in computer-friendly ephemerides.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Gray committed Jun 26, 2023
1 parent 90e6058 commit f97b2c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ephem0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3075,7 +3075,7 @@ static int _ephemeris_in_a_file( const char *filename, const double *orbit,
mags_per_arcsec2 = 99.99;
snprintf( tbuff, sizeof( tbuff), " %5.2f", mags_per_arcsec2);
strlcat_error( alt_buff,
(mags_per_arcsec2 > 99.9) ? " null" : tbuff);
(mags_per_arcsec2 > 99.9) ? " null" : tbuff);
snprintf_append( alt_buff, sizeof( alt_buff), " %06lx", rgb);
if( mags_per_arcsec2 > 99.9 && !computer_friendly)
strlcpy_error( tbuff, " --.--");
Expand Down
4 changes: 2 additions & 2 deletions miscell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,6 @@ bool pattern_match(const char* pattern, const char* string)
const char *find_orb_version_jd( double *jd)
{
if( jd)
*jd = 2460103.5;
return( "2023 Jun 08");
*jd = 2460121.5;
return( "2023 Jun 26");
}

0 comments on commit f97b2c3

Please sign in to comment.