aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-28 13:49:00 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-28 13:49:00 +0200
commitddf275fa83238242a3f84736197d8fc8e56eeded (patch)
tree44f8e0e83361b243e6cd5bc4a719f83ee44767cd
parentfdfab10be70366e79bbd0e53f49e0c169eb195ba (diff)
downloadmblaze-ddf275fa83238242a3f84736197d8fc8e56eeded.tar.gz
mseq: deal with indentation in -C
-rw-r--r--mseq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mseq.c b/mseq.c
index 7f4ab52..60b1986 100644
--- a/mseq.c
+++ b/mseq.c
@@ -247,9 +247,11 @@ stdinmode()
}
void
-setcur(char *c)
+setcur(char *file)
{
- blaze822_seq_setcur(c);
+ while (*file == ' ')
+ file++;
+ blaze822_seq_setcur(file);
}
int