StelRendererStatistics.hpp   StelRendererStatistics.hpp 
skipping to change at line 148 skipping to change at line 148
//! that have StatisticSwapMode_SetToZero. //! that have StatisticSwapMode_SetToZero.
void swap() void swap()
{ {
memcpy(previousStatistics, statistics, MAX_STATISTICS * size of(double)); memcpy(previousStatistics, statistics, MAX_STATISTICS * size of(double));
for(int s = 0; s < statisticCount; ++s) for(int s = 0; s < statisticCount; ++s)
{ {
if(swapModes[s] == StatisticSwapMode_SetToZero) if(swapModes[s] == StatisticSwapMode_SetToZero)
{ {
statistics[s] = 0.0f; statistics[s] = 0.0f;
} }
else if(!swapModes[s] == StatisticSwapMode_DoNothing ) else if(swapModes[s] != StatisticSwapMode_DoNothing)
{ {
Q_ASSERT_X(false, Q_FUNC_INFO, "Unknown stat istic swap mode"); Q_ASSERT_X(false, Q_FUNC_INFO, "Unknown stat istic swap mode");
} }
} }
} }
private: private:
//! Current index in backend. Used in iteration when getting statist ics. //! Current index in backend. Used in iteration when getting statist ics.
int iterationIndex; int iterationIndex;
 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/