]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_aux.c
* samtools-0.1.4-22 (r369)
[samtools.git] / bam_aux.c
index 9b918424eeaf046719105956ea7baaef29b6cd03..640004d9baf340465fdb1df1c2045464b6f82eda 100644 (file)
--- 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;
 }