diff --git a/src/gui/gui.h b/src/gui/gui.h index 31a287ef9..1cdfb4f3f 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -2929,7 +2929,7 @@ class FurnaceGUI { void doReplace(); void doDrag(); void editOptions(bool topMenu); - DivSystem systemPicker(bool full_width); + DivSystem systemPicker(bool fullWidth); void noteInput(int num, int key, int vol=-1); void valueInput(int num, bool direct=false, int target=-1); void orderInput(int num); diff --git a/src/gui/sysPicker.cpp b/src/gui/sysPicker.cpp index fd0046121..6d10ac754 100644 --- a/src/gui/sysPicker.cpp +++ b/src/gui/sysPicker.cpp @@ -23,7 +23,7 @@ #include "guiConst.h" #include -DivSystem FurnaceGUI::systemPicker(bool full_width) { +DivSystem FurnaceGUI::systemPicker(bool fullWidth) { DivSystem ret=DIV_SYSTEM_NULL; DivSystem hoveredSys=DIV_SYSTEM_NULL; bool reissueSearch=false; @@ -61,7 +61,7 @@ DivSystem FurnaceGUI::systemPicker(bool full_width) { } } } - if (ImGui::BeginTable("SysList",1,ImGuiTableFlags_ScrollY,ImVec2(full_width ? ImGui::GetContentRegionAvail().x : 500.0f*dpiScale,200.0f*dpiScale))) { + if (ImGui::BeginTable("SysList",1,ImGuiTableFlags_ScrollY,ImVec2(fullWidth ? ImGui::GetContentRegionAvail().x : 500.0f*dpiScale,200.0f*dpiScale))) { if (sysSearchQuery.empty()) { // display chip list for (int j=0; curSysSection[j]; j++) {