src/hg/hgTracks/wigTrack.c 1.104

1.104 2010/04/14 17:49:15 hiram
properly draw line at bottom of graph when data point is right on that line
Index: src/hg/hgTracks/wigTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/wigTrack.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -b -B -U 4 -r1.103 -r1.104
--- src/hg/hgTracks/wigTrack.c	6 Apr 2010 18:25:16 -0000	1.103
+++ src/hg/hgTracks/wigTrack.c	14 Apr 2010 17:49:15 -0000	1.104
@@ -888,9 +888,9 @@
 		    if (boxHeight < 1)
 			boxHeight = 1;
 
 		    /*	Last pixel (bottom) is a special case of a closed interval */
-		    if ((boxTop == h) && (boxHeight == 1))
+		    if ((boxTop == h) && (boxHeight > 0))
 			{
 			boxTop = h - 1;
 			boxHeight = 1;
 			}