mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-15 10:18:39 -09:00
Fixed display bug while calculating
This commit is contained in:
parent
7a0730f5d2
commit
b8877be907
1 changed files with 1 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ int calc_item(struct dir *par, char *path, char *name) {
|
||||||
/* lstat */
|
/* lstat */
|
||||||
strcpy(tmp, path);
|
strcpy(tmp, path);
|
||||||
strcat(tmp, name);
|
strcat(tmp, name);
|
||||||
|
strcpy(stcalc.cur, tmp);
|
||||||
if(lstat(tmp, &fs)) {
|
if(lstat(tmp, &fs)) {
|
||||||
d->flags |= FF_ERR;
|
d->flags |= FF_ERR;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue