From c79d51b76c1f9c8987c4e1d5dbf0f83107b54535 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Fri, 21 Mar 2014 09:40:31 +1000 Subject: [PATCH] Percentile title display glitch --- sleepyhead/Graphs/gSummaryChart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleepyhead/Graphs/gSummaryChart.cpp b/sleepyhead/Graphs/gSummaryChart.cpp index 0003e024..7c5ffbd1 100644 --- a/sleepyhead/Graphs/gSummaryChart.cpp +++ b/sleepyhead/Graphs/gSummaryChart.cpp @@ -68,7 +68,7 @@ void SummaryChart::SetDay(Day * nullday) m_type.clear(); m_typeval.clear(); - float perc=PROFILE.general->prefCalcPercentile(); + float perc=PROFILE.general->prefCalcPercentile()/100.0; int mididx=PROFILE.general->prefCalcMiddle(); SummaryType mid; if (mididx==0) mid=ST_PERC;