diff --git a/src/gui/xyOsc.cpp b/src/gui/xyOsc.cpp index b3e59eca0..a985735d1 100644 --- a/src/gui/xyOsc.cpp +++ b/src/gui/xyOsc.cpp @@ -18,10 +18,6 @@ */ #include "gui.h" -#include "imgui_internal.h" -#include -#include "../ta-log.h" -#include "../engine/filter.h" void FurnaceGUI::drawXYOsc() { if (nextWindow==GUI_WINDOW_XY_OSC) { @@ -39,8 +35,8 @@ void FurnaceGUI::drawXYOsc() { } if (ImGui::Begin("Oscilloscope (X-Y)",&xyOscOpen,globalWinFlags,_("Oscilloscope (X-Y)"))) { if (xyOscOptions) { - int xyOscXChannelP1 = xyOscXChannel+1; - int xyOscYChannelP1 = xyOscYChannel+1; + int xyOscXChannelP1=xyOscXChannel+1; + int xyOscYChannelP1=xyOscYChannel+1; ImGui::Text(_("X Channel")); ImGui::SameLine(); @@ -52,7 +48,7 @@ void FurnaceGUI::drawXYOsc() { ImGui::Text(_("Y Channel")); ImGui::SameLine(); if (ImGui::DragInt("##YChannel",&xyOscYChannelP1,1.0f,1,DIV_MAX_OUTPUTS)) { - xyOscXChannel=MIN(MAX(xyOscYChannelP1,1),DIV_MAX_OUTPUTS)-1; + xyOscYChannel=MIN(MAX(xyOscYChannelP1,1),DIV_MAX_OUTPUTS)-1; } rightClickable ImGui::SameLine(); ImGui::Checkbox(_("Invert##Y"),&xyOscYInvert);