src/webBlat/webBlat.c 1.10
1.10 2009/08/05 20:51:57 galt
fixed comment mistake
Index: src/webBlat/webBlat.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/webBlat/webBlat.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/webBlat/webBlat.c 5 Aug 2009 20:33:50 -0000 1.9
+++ src/webBlat/webBlat.c 5 Aug 2009 20:51:57 -0000 1.10
@@ -301,12 +301,12 @@
/* Parse out file:seq into file and seq, and load needed part of target seq. */
parseFileSeq(psl->tName, &tFileName, &tSeqName);
int lineWidth = protQuery ? 60 : 50;
-int extraContext = 2 * lineWidth; /* one line before and one line after */
+int extraContext = 2 * lineWidth; /* two lines before ... */
tStart = psl->tStart - extraContext;
if (tStart < 0) tStart = 0;
-tEnd = psl->tEnd + extraContext;
+tEnd = psl->tEnd + extraContext; /* and two lines after */
if (tEnd > psl->tSize)
tEnd = psl->tSize;
tSeq = readSeqFrag(server->seqDir, tFileName, tSeqName, tStart, tEnd);