fixed
This commit is contained in:
parent
f21841ad99
commit
2ded3e61e7
5
bake.c
5
bake.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user