]> git.kaiwu.me - klib.git/commitdiff
Align backspace character [cosmetic]
authorJohn Marshall <jmarshall@hey.com>
Wed, 20 Sep 2023 20:11:08 +0000 (08:11 +1200)
committerJohn Marshall <jmarshall@hey.com>
Wed, 20 Sep 2023 20:11:08 +0000 (08:11 +1200)
kseq.h

diff --git a/kseq.h b/kseq.h
index 81cc774b6c24ecd21ec152f3ef7364ceb2fbb063..29596223cfbfa3ed7b558cf2c12f30f2bd02a4af 100644 (file)
--- a/kseq.h
+++ b/kseq.h
@@ -107,7 +107,7 @@ typedef struct __kstring_t {
                                        if (ks->end == -1) { ks->is_eof = 1; return -3; }       \
                                } else break;                                                                                   \
                        }                                                                                                                       \
-                       if (delimiter == KS_SEP_LINE) { \
+                       if (delimiter == KS_SEP_LINE) {                                                         \
                                unsigned char *sep = memchr(ks->buf + ks->begin, '\n', ks->end - ks->begin); \
                                i = sep != NULL ? sep - ks->buf : ks->end;                              \
                        } else if (delimiter > KS_SEP_MAX) {                                            \