about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-09-06 21:40:21 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-09-06 21:40:21 +0200
commiteeb9498a73b22cbcd2ff1f5a846f3d5e4888afc6 (patch)
tree60e9b0998eb77a8b10f90edaf898f54475d46ecc
parente4140ae6022f380aa14d3682455bdfce8c698bda (diff)
downloadredo-c-eeb9498a73b22cbcd2ff1f5a846f3d5e4888afc6.tar.gz
redo-c-eeb9498a73b22cbcd2ff1f5a846f3d5e4888afc6.tar.xz
redo-c-eeb9498a73b22cbcd2ff1f5a846f3d5e4888afc6.zip
$2 for non-default .do files is same as $1 actually
-rw-r--r--redo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo.c b/redo.c
index 3ef8723..439b121 100644
--- a/redo.c
+++ b/redo.c
@@ -544,7 +544,7 @@ static char *
 redo_basename(char *dofile, char *target)
 {
 	static char buf[PATH_MAX];
-	int stripext = 1;
+	int stripext = 0;
 	char *s;
 
 	if (strncmp(dofile, "default.", 8) == 0)