[Kstars-devel] branches/kstars/summer/kdeedu/kstars/kstars/skycomponents

Akarsh Simha akarshsimha at gmail.com
Thu Jul 10 22:41:20 CEST 2008


SVN commit 830618 by asimha:

Report the correct trixel to the HighPMStarList.

This fixes a bug that was causing a QVector overflow in the
HighPMStarList::reindex() method.

CCMAIL: kstars-devel at kde.org



 M  +1 -1      starcomponent.cpp  


--- branches/kstars/summer/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #830617:830618
@@ -562,7 +562,7 @@
                 double pm = star->pmMagnitude();
                 for (int j = 0; j < m_highPMStars.size(); j++ ) {
                     HighPMStarList* list = m_highPMStars.at( j );
-                    if ( list->append( 512 - i, star, pm ) ) break;
+                    if ( list->append( trixel, star, pm ) ) break;
                 }
             }
         }


More information about the Kstars-devel mailing list