summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-04-13 18:38:07 +0200
committerYorhel <git@yorhel.nl>2009-04-13 18:38:07 +0200
commitb8877be907356ba27e0ff2d291d310bf67e18738 (patch)
treedeb23c286b3a857d94b0ad0d47af145f06827e0e
parent7a0730f5d2cc3103a17c3dab852fe6614229133e (diff)
Fixed display bug while calculating
-rw-r--r--src/calc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calc.c b/src/calc.c
index e9451a5..373f180 100644
--- a/src/calc.c
+++ b/src/calc.c
@@ -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;