[Kstars-devel] KDE/kdeedu/kstars/kstars/tools
Akarsh Simha
akarshsimha at gmail.com
Sun Jun 8 20:47:53 CEST 2008
SVN commit 818539 by asimha:
Indentation fix: Use spaces instead of tabs.
CCMAIL: kstars-devel at kde.org
M +4 -5 ksconjunct.cpp
M +0 -1 ksconjunct.h
--- trunk/KDE/kdeedu/kstars/kstars/tools/ksconjunct.cpp #818538:818539
@@ -1,4 +1,3 @@
-
/***************************************************************************
ksconjunct.cpp - K Desktop Planetarium
-------------------
@@ -70,8 +69,8 @@
if(Sign != prevSign && prevSign == 1) { // The prevSign == 1 ensures that we pick up only minima and don't waste time finding maxima
// kDebug() << "Sign = " << Sign << " and " << "prevSign = " << prevSign << ": Entering findPrecise()\n";
if(findPrecise(&extremum, &Object1, &Object2, jd, step, prevSign))
- if(extremum.second.radians() < maxSeparation.radians())
- Separations.insert(extremum.first, extremum.second);
+ if(extremum.second.radians() < maxSeparation.radians())
+ Separations.insert(extremum.first, extremum.second);
}
prevDist = Dist;
@@ -126,9 +125,9 @@
out -> first = jd - step / 2.0;
out -> second = findDistance(jd - step/2.0, Object1, Object2);
if(out -> second.radians() < findDistance(jd - 5.0, Object1, Object2).radians())
- return true;
+ return true;
else
- return false;
+ return false;
}
Sign = sgn(Dist.Degrees() - prevDist.Degrees());
if(Sign != prevSign) {
--- trunk/KDE/kdeedu/kstars/kstars/tools/ksconjunct.h #818538:818539
@@ -1,4 +1,3 @@
-
/***************************************************************************
ksconjunct.h - K Desktop Planetarium
-------------------
More information about the Kstars-devel
mailing list