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

List:       kstars-devel
Subject:    [Kstars-devel]
From:       Akarsh Simha <akarshsimha () gmail ! com>
Date:       2008-07-10 20:41:20
Message-ID: 1215722480.162408.14146.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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;
                 }
             }
         }
_______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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