diff --git a/windows/templates/epitrochoid_c.txt b/windows/templates/epitrochoid_c.txt index 340b4ef7..23ac9682 100644 --- a/windows/templates/epitrochoid_c.txt +++ b/windows/templates/epitrochoid_c.txt @@ -61,8 +61,8 @@ int main() { trackColor= GuiColorPicker((Rectangle){ 50, 250, 196, 192 }, NULL, trackColor); int doClear = GuiButton((Rectangle){ 120, 700, 80, 30 },"Clear"); if (newOuterL!=outerL || newBaseL!=baseL || newPointL!=pointL) { - if (newInnerL!=innerL) - pointL=newInnerL; + if (newOuterL!=outerL) + pointL=newOuterL; else pointL=newPointL; outerL=newOuterL;