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

Victor Carbune victor.carbune at gmail.com
Fri Jun 18 21:08:01 CEST 2010


SVN commit 1139625 by vcarbune:

The type of an NGC object in ngcic.dat may have 2 digits

CCMAIL:kstars-devel at kde.org


 M  +1 -1      deepskycomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/deepskycomponent.cpp #1139624:1139625
@@ -110,7 +110,7 @@
         if (ss == "    " ) { mag = 99.9f; } else { mag = ss.toFloat(); }
 
         //object type
-        type = line.mid( 29, 1 ).toInt();
+        type = line.mid( 28, 2 ).toInt();
 
         //major and minor axes
         ss = line.mid( 31, 5 );


More information about the Kstars-devel mailing list