1
0
Fork 0

fix.dat parser: indentation fix

This commit is contained in:
Florent Rougon 2016-04-28 17:23:33 +02:00
parent 30c8328399
commit 29c7fa54b1

View file

@ -105,11 +105,11 @@ void FixesLoader::loadFixes(const SGPath& path)
_cache->insertFix(fields[2], SGGeod::fromDeg(lon, lat));
if ((lineNumber % 100) == 0) {
// every 100 lines
unsigned int percent = (lineNumber * 100) / LINES_IN_FIX_DAT;
_cache->setRebuildPhaseProgress(NavDataCache::REBUILD_FIXES, percent);
}
if ((lineNumber % 100) == 0) {
// every 100 lines
unsigned int percent = (lineNumber * 100) / LINES_IN_FIX_DAT;
_cache->setRebuildPhaseProgress(NavDataCache::REBUILD_FIXES, percent);
}
}
throwExceptionIfStreamError(in, path);