diff --git a/Graphs/gSummaryChart.cpp b/Graphs/gSummaryChart.cpp index 137a4e9e..44922130 100644 --- a/Graphs/gSummaryChart.cpp +++ b/Graphs/gSummaryChart.cpp @@ -163,9 +163,9 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height) EventDataType maxy=m_maxy; EventDataType miny=m_miny; - if (m_codes[0]=="HumidSet") { + /*if (m_codes[0]=="HumidSet") { int i=1; - } + }*/ w.roundY(miny,maxy); diff --git a/SleepLib/session.cpp b/SleepLib/session.cpp index 05a1bffc..3aa078a0 100644 --- a/SleepLib/session.cpp +++ b/SleepLib/session.cpp @@ -729,6 +729,7 @@ EventDataType Session::wavg(ChannelID id) EventDataType gain=evec[0]->gain(); for (int i=0;icount()) continue; lastval=evec[i]->raw(0); lasttime=evec[i]->time(0); for (int j=1;jcount();j++) {