Percentile title display glitch

This commit is contained in:
Mark Watkins 2014-03-21 09:40:31 +10:00
parent ce44c644b3
commit c79d51b76c

View File

@ -68,7 +68,7 @@ void SummaryChart::SetDay(Day * nullday)
m_type.clear(); m_type.clear();
m_typeval.clear(); m_typeval.clear();
float perc=PROFILE.general->prefCalcPercentile(); float perc=PROFILE.general->prefCalcPercentile()/100.0;
int mididx=PROFILE.general->prefCalcMiddle(); int mididx=PROFILE.general->prefCalcMiddle();
SummaryType mid; SummaryType mid;
if (mididx==0) mid=ST_PERC; if (mididx==0) mid=ST_PERC;