ConstellationMgr.cpp   ConstellationMgr.cpp 
skipping to change at line 152 skipping to change at line 152
// Translate constellation names for the new sky culture // Translate constellation names for the new sky culture
updateI18n(); updateI18n();
} }
catch (std::runtime_error& e) catch (std::runtime_error& e)
{ {
qWarning() << "ERROR: while loading new constellation data f or sky culture " qWarning() << "ERROR: while loading new constellation data f or sky culture "
<< skyCultureDir << ", reason: " << e.what() << endl ; << skyCultureDir << ", reason: " << e.what() << endl ;
} }
// TODO: do we need to have an else { clearBoundaries(); } ? // TODO: do we need to have an else { clearBoundaries(); } ?
if (skyCultureDir=="western") if (skyCultureDir.startsWith("western"))
{ {
try try
{ {
loadBoundaries(StelFileMgr::findFile("data/constella tions_boundaries.dat")); loadBoundaries(StelFileMgr::findFile("data/constella tions_boundaries.dat"));
} }
catch (std::runtime_error& e) catch (std::runtime_error& e)
{ {
qWarning() << "ERROR loading constellation boundarie s file: " << e.what(); qWarning() << "ERROR loading constellation boundarie s file: " << e.what();
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/