333a62a6e44ae1fe7696231a1a83d4daa89d92d2
jcasper
  Tue Aug 15 14:17:02 2023 -0700
Fix for typo - should be setting height=height, not range=height.  refs #31800

diff --git src/lib/spaceSaver.c src/lib/spaceSaver.c
index 4801281..a04a70e 100644
--- src/lib/spaceSaver.c
+++ src/lib/spaceSaver.c
@@ -219,31 +219,31 @@
 {
 return spaceSaverAddOverflowMultiOptionalPadding(ss, rangeList, nodeList, allowOverflow, TRUE);
 }
 
 
 struct spaceNode *spaceSaverAddOverflowExtended(struct spaceSaver *ss, int start, int end, int height,
 					void *val, boolean allowOverflow, struct spaceSaver *parentSs, bool noLabel)
 /* Add a new node to space saver. Returns NULL if can't fit item in
  * and allowOverflow == FALSE. If allowOverflow == TRUE then put items
  * that won't fit in last row. parentSs allows specification of destination for node from alternate window.*/
 {
 struct spaceRange *range;
 AllocVar(range);
 range->start = start;
 range->end = end;
-range->end = height;
+range->height = height;
 struct spaceNode *node;
 AllocVar(node);
 node->val = val;
 node->parentSs = parentSs;
 node->noLabel = noLabel;
 return spaceSaverAddOverflowMulti(ss, range, node, allowOverflow);
 }
 
 struct spaceNode *spaceSaverAddOverflow(struct spaceSaver *ss, int start, int end, 
 					void *val, boolean allowOverflow)
 /* Add a new node to space saver. Returns NULL if can't fit item in
  * and allowOverflow == FALSE. If allowOverflow == TRUE then put items
  * that won't fit in last row. */
 {
 return spaceSaverAddOverflowExtended(ss, start, end, 1, val, allowOverflow, ss, FALSE);