[Kstars-devel] CVS commit
Jason Harris
kstars at 30doradus.org
Mon Oct 6 09:58:43 CEST 2003
Hello,
Forgot the CCMAIL:
Found a bug in filesource.cpp; the number of starfiles was set to a fixed
value (41) instead of to the defined constant NHIPFILES. However, I note
that our dynamic loading of star data still is not working properly. The
right amount of star data gets loaded at startup time, but raising/lowering
the faint limit at run time does not appear to change the memory footprint of
the program.
M +1 -1 filesource.cpp 1.10
--- kdeedu/kstars/kstars/filesource.cpp #1.9:1.10
@@ -70,5 +70,5 @@ void FileSource::sendTo(QDataSink *sink,
}
// open next file if end is reached
- if (data->starFileReader->hasMoreLines() == false && readingData ==
true && fileNumber < 41) {
+ if (data->starFileReader->hasMoreLines() == false && readingData ==
true && fileNumber < NHIPFILES) {
fileNumber++;
// kdDebug() << "sendTo: open file #" << fileNumber << endl;
--
KStars: A K Desktop Planetarium
http://edu.kde.org/kstars
More information about the Kstars-devel
mailing list