This commit is contained in:
Emil Williams 2024-02-14 16:55:53 +00:00
parent f21841ad99
commit 2ded3e61e7

5
bake.c
View File

@ -198,14 +198,11 @@ expand_size(char * buf, int argc, char ** argv) {
len = max = strlen(buf) + 1; len = max = strlen(buf) + 1;
#define str
for (i = 0; i < len; ++i) { for (i = 0; i < len; ++i) {
if (buf[i] == '\\') { if (buf[i] == '\\') {
i += 2; i += 2;
continue; continue;
} else if (strncmp()) } else if (buf[i] == '$') {
else if (buf[i] == '$') {
switch (buf[++i]) { switch (buf[++i]) {
case '@': case '@':
max += strlen(g_filename); max += strlen(g_filename);