dafa0da9b989d8661390ed4cfec8adcc68d5f3de angie Mon Oct 18 16:02:34 2010 -0700 Redmine Bug #1304 (alignment numbering wrong when "viewing parts ofalignment"): fixed bug I introduced into fuzzyShow.c back in 2007. Also in hgc.c, trim the "Alignment of <query> to <chrN:s-e>" message at top of alignment display frame to query bounds (not just viewing window), to be more consistent with message in whole-alignment view. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 37666b2..ce2d3a4 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -6436,8 +6436,8 @@ if (restrictToWindow) { - partTStart = winStart; - partTEnd = winEnd; + partTStart = max(wholePsl->tStart, winStart); + partTEnd = min(wholePsl->tEnd, winEnd); } /* Write body heading info. */