From e2995d4afda83078a1b5c676e3f8d19b54c5b8b3 Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Tue, 4 May 2021 21:10:43 -0400 Subject: [PATCH] (fix) remove only last extension --- src/cli/path.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/path.c b/src/cli/path.c index 6ad34a90..acdc0028 100644 --- a/src/cli/path.c +++ b/src/cli/path.c @@ -161,6 +161,7 @@ void pathRemoveExtension(Path* path) { path->length = i; path->chars[path->length] = '\0'; + return; } } }