Skip to content

Commit fec823e

Browse files
committed
Suppress output of meaningless coordinates (Fix #4212)
1 parent fecb748 commit fec823e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/StelObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ QString StelObject::getCommonInfoString(const StelCore *core, const InfoStringGr
632632
res += getExtraInfoStrings(EclipticCoordJ2000).join("");
633633
}
634634

635-
if ((flags&EclipticCoordOfDate) && (QString("Earth Sun").contains(currentPlanet)))
635+
if ((flags&EclipticCoordOfDate) && (currentPlanet=="Earth"))
636636
{
637637
const double jde=core->getJDE();
638638
double eclJDE = GETSTELMODULE(SolarSystem)->getEarth()->getRotObliquity(jde);

0 commit comments

Comments
 (0)