aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 276fb70..4adfd69 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := git-20150111
+VERSION := git-20150118
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man
diff --git a/main.c b/main.c
index d2efb30..61b8ea7 100644
--- a/main.c
+++ b/main.c
@@ -542,7 +542,7 @@ void run_key_handler(const char *key, unsigned int mask)
for (f = i = 0; f < fcnt; i++) {
if ((marked && (files[i].flags & FF_MARK)) || (!marked && i == fileidx)) {
stat(files[i].path, &oldst[f]);
- fprintf(pfs, "%s\n", files[i].name);
+ fprintf(pfs, "%s\n", files[i].path);
f++;
}
}