Browse Source

fix expend str

master
narnaud 3 years ago
parent
commit
eb971e6542
  1. 5
      utils_2.c

5
utils_2.c

@ -91,9 +91,8 @@ char *expend_str(t_datas *datas, char *line)
{
if (*line == '$')
tmp_i = replace_var(datas, &line, tmp, tmp_i);
tmp[tmp_i] = *line;
line++;
tmp_i++;
else
tmp[tmp_i++] = *(line++);
}
return (tmp);
}

Loading…
Cancel
Save