about summary refs log tree commit diff
path: root/mseq.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-26 18:02:10 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-26 18:02:10 +0200
commit699c322aead6dead80f1605ca46ad3abbda02435 (patch)
treec34ff868127ea227bb492ab6b903cccce3e5ef29 /mseq.c
parenta8ffebe0ced0f6d4d95e5700c11651218e5d2de4 (diff)
downloadmblaze-699c322aead6dead80f1605ca46ad3abbda02435.tar.gz
mblaze-699c322aead6dead80f1605ca46ad3abbda02435.tar.xz
mblaze-699c322aead6dead80f1605ca46ad3abbda02435.zip
mseq: keep indentation with -f
Diffstat (limited to 'mseq.c')
-rw-r--r--mseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mseq.c b/mseq.c
index 75e03fc..adcec5b 100644
--- a/mseq.c
+++ b/mseq.c
@@ -141,7 +141,7 @@ fix(FILE *out, char *file)
 	char *ee = strrchr(file, '/');
 	if (ee >= file + 3 && ee[-3] == 'n' && ee[-2] == 'e' && ee[-1] == 'w') {
 		ee[-3] = 'c'; ee[-2] = 'u'; ee[-1] = 'r';
-		return fix(out, file);
+		return fix(out, file-i);
 	}
 
 	return 0;