# HG changeset patch # User bcoudurier # Date 1161428919 0 # Node ID f88bcfcc2f50b7d1354da4cdf4b0efc7e6d599a1 # Parent 53803884feb7ae62c03a3363407a279bea5f57ca fix probe, patch by Andreas Oman, andreas at olebyn dot nu diff -r 53803884feb7 -r f88bcfcc2f50 tiertexseq.c --- a/tiertexseq.c Fri Oct 20 13:06:50 2006 +0000 +++ b/tiertexseq.c Sat Oct 21 11:08:39 2006 +0000 @@ -68,7 +68,7 @@ /* there's no real header in a .seq file, the only thing they have in common */ /* is the first 256 bytes of the file which are always filled with 0 */ for (i = 0; i < 256; i++) - if (p->buf[0] != 0) + if (p->buf[i] != 0) return 0; /* only one fourth of the score since the previous check is too naive */