Skip to content
Snippets Groups Projects
Commit b8877be9 authored by Yorhel's avatar Yorhel
Browse files

Fixed display bug while calculating

parent 7a0730f5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment