mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ScatterCtrl: Pedantic fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@10669 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9b083d9eee
commit
c18c80fe91
1 changed files with 2 additions and 2 deletions
|
|
@ -177,6 +177,8 @@ void LegendTab::Change()
|
|||
legendTableAnchor = ScatterDraw::LEGEND_ANCHOR_LEFT_BOTTOM;
|
||||
else if (legendAnchorRB)
|
||||
legendTableAnchor = ScatterDraw::LEGEND_ANCHOR_RIGHT_BOTTOM;
|
||||
else
|
||||
NEVER();
|
||||
scatter.SetLegendAnchor(legendTableAnchor);
|
||||
bool enable = (legendPosition != 0);
|
||||
table.Enable(enable);
|
||||
|
|
@ -959,8 +961,6 @@ void ProcessingTab::OnFFT()
|
|||
resampledSeries << orderedSeries[0].y;
|
||||
double nextSample = orderedSeries[0].x + samplingTime;
|
||||
for (int i = 0; i < orderedSeries.GetCount() - 1;) {
|
||||
double x0 = orderedSeries[i].x;
|
||||
double x1 = orderedSeries[i + 1].x;
|
||||
if (orderedSeries[i].x == nextSample) {
|
||||
resampledSeries << orderedSeries[i].y;
|
||||
nextSample += samplingTime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue