From e7ad4a2b1132cf1a8b36632c868b170c2bc70373 Mon Sep 17 00:00:00 2001 From: David Buzatto Date: Sat, 29 Nov 2025 22:33:09 -0300 Subject: [PATCH] typo correction --- examples/shapes/shapes_penrose_tile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/shapes/shapes_penrose_tile.c b/examples/shapes/shapes_penrose_tile.c index ae460f54f..dee62248d 100644 --- a/examples/shapes/shapes_penrose_tile.c +++ b/examples/shapes/shapes_penrose_tile.c @@ -164,13 +164,13 @@ void BuildProductionStep(PenroseLSystem *ls) for (int i = 0; i < productionLength; i++) { char step = ls->production[i]; - int remaningSpace = STR_MAX_SIZE - strnlen(newProduction, STR_MAX_SIZE) - 1; + int remainingSpace = STR_MAX_SIZE - strnlen(newProduction, STR_MAX_SIZE) - 1; switch (step) { - case 'W': strncat(newProduction, ls->ruleW, remaningSpace); break; - case 'X': strncat(newProduction, ls->ruleX, remaningSpace); break; - case 'Y': strncat(newProduction, ls->ruleY, remaningSpace); break; - case 'Z': strncat(newProduction, ls->ruleZ, remaningSpace); break; + case 'W': strncat(newProduction, ls->ruleW, remainingSpace); break; + case 'X': strncat(newProduction, ls->ruleX, remainingSpace); break; + case 'Y': strncat(newProduction, ls->ruleY, remainingSpace); break; + case 'Z': strncat(newProduction, ls->ruleZ, remainingSpace); break; default: { if (step != 'F')