[Kstars-devel] KDE/kdeedu/kstars/kstars

Akarsh Simha akarshsimha at gmail.com
Tue Jun 10 03:36:50 CEST 2008


SVN commit 818926 by asimha:

Fixing potential bug in setting the long names of stars. The bug was
fixed in the other constructor which takes dms as arguments for RA and
Dec, but not fixed in the constructor that takes double as argument.

CCMAIL: kstars-devel at kde.org



 M  +1 -1      starobject.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/starobject.cpp #818925:818926
@@ -97,7 +97,7 @@
     QString lname;
     if ( hasName() ) {
         lname = n;
-        if ( hasName2() )lname += n + " (" + gname() + ')';
+        if ( hasName2() )lname += " (" + gname() + ')';
     } else if ( hasName2() )
         lname = gname();
 


More information about the Kstars-devel mailing list