[Kst] kdeextragear-2/kst/kst/datasources/lfiio

Andrew Walker arwalker at sumusltd.com
Sat Feb 7 00:37:59 CET 2004


CVS commit by arwalker: 

Cosmetic changes


  M +6 -5      lfiio.cpp   1.3


--- kdeextragear-2/kst/kst/datasources/lfiio/lfiio.cpp  #1.2:1.3
@@ -104,4 +104,6 @@ KstObject::UpdateType LFIIOSource::updat
           for( i=0; i<iNumCols; i++ )
                 {
+            iStatus = 0;
+            
             sprintf( charTemplate, "%d", i+1 );
             iResult = fits_get_colname( ffits, CASEINSEN, charTemplate, charName, &iColNumber, &iStatus );
@@ -115,8 +117,7 @@ KstObject::UpdateType LFIIOSource::updat
               strName.setNum( i );
               _strListColNames.append( strName );
-              
-              iStatus = 0;
             }
 
+            iStatus = 0;
             iResult = fits_get_coltype( ffits, i+1, &iTypeCode, &lRepeat, &lWidth, &iStatus );
             if( iResult == 0 )





More information about the Kst mailing list