From 2ded3e61e76d9d8d8b07434d0887d624c68c9154 Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Wed, 14 Feb 2024 16:55:53 +0000 Subject: [PATCH] fixed --- bake.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bake.c b/bake.c index 91e0fae..60928f0 100644 --- a/bake.c +++ b/bake.c @@ -198,14 +198,11 @@ expand_size(char * buf, int argc, char ** argv) { len = max = strlen(buf) + 1; - #define str for (i = 0; i < len; ++i) { if (buf[i] == '\\') { i += 2; continue; - } else if (strncmp()) - - else if (buf[i] == '$') { + } else if (buf[i] == '$') { switch (buf[++i]) { case '@': max += strlen(g_filename);