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

Pablo de Vicente p.devicente at wanadoo.es
Fri Feb 20 20:28:19 CET 2004


CVS commit by pvicente: 

Fixed a small bug which broke compilation. Structure tm does not have members 
called tm_month and tm_day, but tm_mon and tm_mday.

CCMAIL: kstars-devel at kde.org


  M +1 -1      lx200generic.cpp   1.20


--- kdeedu/kstars/kstars/indi/lx200generic.cpp  #1.19:1.20
@@ -470,5 +470,5 @@ void LX200Generic::ISNewText (const char
                 localTM = ltp;
                 
-                if ( ( err = setCalenderDate(ltp->tm_day, ltp->tm_month, ltp->tm_year) < 0) )
+                if ( ( err = setCalenderDate(ltp->tm_mday, ltp->tm_mon, ltp->tm_year) < 0) )
                 {
                   handleError(&Time, err, "Setting local time");




More information about the Kstars-devel mailing list