From 6e60738b39d9c97af8f49c99eb0ec34f3202c691 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Wed, 29 Jun 2022 22:55:42 +0800 Subject: [PATCH] update templates --- windows/templates/epitrochoid_c.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;