[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars/tools
From: Akarsh Simha <akarshsimha () gmail ! com>
Date: 2008-06-08 18:47:53
Message-ID: 1212950873.615316.4403.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 818539 by asimha:
Indentation fix: Use spaces instead of tabs.
CCMAIL: kstars-devel@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
-------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic