mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -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 */
|
||||
strcpy(tmp, path);
|
||||
strcat(tmp, name);
|
||||
strcpy(stcalc.cur, tmp);
|
||||
if(lstat(tmp, &fs)) {
|
||||
d->flags |= FF_ERR;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue