lavat

Un fork de lavat pour pouvoir y ajouter des titres - retour accueil

git clone git://bebou.netlib.re/lavat
Log | Files | Refs | README | LICENSE |

commit 3b2dd40b5ae57edd624f872dbab54eb8b91ccf66
parent a69ce502d70d8282c47bf97c91037b1487802a4f
Auteurice: AngelJumbo <anarjumb@gmail.com>
Date:   Thu, 20 Oct 2022 16:39:09 -0500

Fix custom radius option

Diffstat:
Mlavat.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lavat.c b/lavat.c @@ -189,7 +189,7 @@ int parse_options(int argc, char *argv[]) { } break; case 'r': - radius = 50 + (11 - atoi(optarg)) * 10; + radius = 50 + atoi(optarg) * 10; if (radius > 150 || radius < 50) { printf("Invalid radius, only values between 1 and 10 are allowed\n"); return 0;