[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/skycomponents
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2010-02-12 17:05:53
Message-ID: 1265994353.422476.20309.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1089190 by khudyakov:

Fix indentation

 M  +7 -7      starcomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #1089189:1089190
@@ -622,14 +622,14 @@
     double rTry, rBest;
     SkyObject *oTry;
     rBest = maxrad;
-    rTry = maxrad;
+    rTry  = maxrad;
     for( int i = 0; i < m_DeepStarComponents.size(); ++i ) {
-      oTry = m_DeepStarComponents.at( i )->objectNearest( p, rTry );
-      // TODO: Should we multiply rBest by a factor < 1, so that we give higher \
                priority to named stars?
-      if( rTry < rBest ) {
-	rBest = rTry;
-	oBest = oTry;
-      }
+        oTry = m_DeepStarComponents.at( i )->objectNearest( p, rTry );
+        // TODO: Should we multiply rBest by a factor < 1, so that we give higher \
priority to named stars? +        if( rTry < rBest ) {
+            rBest = rTry;
+            oBest = oTry;
+        }
     }
     maxrad = rBest;
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic