X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam_aux.c;fp=bam_aux.c;h=640004d9baf340465fdb1df1c2045464b6f82eda;hb=d37a3385c21b16b0e3ea2ea1a85380be9811055d;hp=9b918424eeaf046719105956ea7baaef29b6cd03;hpb=8cab5e6afd245a6dbbb1580dc37cd3ee36e55078;p=samtools.git diff --git a/bam_aux.c b/bam_aux.c index 9b91842..640004d 100644 --- a/bam_aux.c +++ b/bam_aux.c @@ -39,7 +39,7 @@ uint8_t *bam_aux_get(const bam1_t *b, const char tag[2]) else if (type == 'S') s += 2; else if (type == 'I' || type == 'F') s += 4; else if (type == 'D') s += 8; - else if (type == 'Z' || type == 'H') { while (*s) putchar(*s++); ++s; } + else if (type == 'Z' || type == 'H') { while (*s) ++s; ++s; } } return 0; }