07510a8d4db65d26cea5d53b0f2260a7fcae424f
braney
  Fri Apr 18 15:49:04 2014 -0700
fix off by one error that was having us starting to draw in the labelare in squish mode for multiz display.

diff --git src/hg/hgTracks/mafTrack.c src/hg/hgTracks/mafTrack.c
index d5da446..e2e3acc 100644
--- src/hg/hgTracks/mafTrack.c
+++ src/hg/hgTracks/mafTrack.c
@@ -594,32 +594,32 @@
     else
         maf = full;
     if (maf != NULL)
 	{
         ixMafAli++;
 	mcMaster = mafFindComponent(maf, dbChrom);
         mc = mcMaster->next;
         if (mc == NULL)
             {
             if (sub != NULL)
                 mafAliFree(&sub);
             continue;
             }
 	if (mcMaster->strand == '-')
 	    mafFlipStrand(maf);
-        x1 = round((double)((int)mcMaster->start-seqStart-1)*scale) + xOff;
-        x2 = round((double)((int)mcMaster->start-seqStart + mcMaster->size)*scale) + xOff;
+        x1 = floor((double)((int)mcMaster->start-seqStart)*scale) + xOff;
+        x2 = ceil((double)((int)mcMaster->start-seqStart + mcMaster->size)*scale) + xOff;
 	w = x2-x1+1;
         if (mc->size == 0)
             {
             /* suppress chain/alignment overlap */
             if (x1 <= lastAlignX2)
                 {
                 int offset = lastAlignX2 - x1 + 1;
                 x1 += offset;
                 w -= offset;
                 if (w <= 0)
                     continue;
                 }
             if (!chainBreaks)
                 continue;
             lastChainX2 = x2+1;