42a371c7799e10b3658ff4dd396545448cc457cf
max
  Wed Jun 19 02:30:35 2024 -0700
uppercasing base zoom level string again, helping QA in the fight against the code, refs #25787

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 3be534c..0688627 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -1945,31 +1945,31 @@
 {
 int winWidth = winEnd - winStart;
 int newWinWidth = winWidth;
 char message[32];
 char *zoomType = cartCgiUsualString(cart, RULER_BASE_ZOOM_VAR, ZOOM_3X);
 
 safef(message, sizeof(message), "%s zoom", zoomType);
 if (sameString(zoomType, ZOOM_1PT5X))
     newWinWidth = winWidth/1.5;
 else if (sameString(zoomType, ZOOM_3X))
     newWinWidth = winWidth/3;
 else if (sameString(zoomType, ZOOM_10X))
     newWinWidth = winWidth/10;
 else if (sameString(zoomType, ZOOM_100X))
     newWinWidth = winWidth/100;
-else if (sameString(zoomType, ZOOM_BASE))
+else if (sameString(zoomType, ZOOM_BASE) || sameString(zoomType, "base")) // old sessions contain the old zoom type
     newWinWidth = insideWidth/tl.mWidth;
 else
     errAbort("invalid zoom type %s", zoomType);
 
 if (newWinWidth < 1)
     newWinWidth = 1;
 
 return newWinWidth;
 }
 
 static void drawScaleBar(
     struct hvGfx *hvg,
     MgFont *font,
     int fontHeight,
     int yAfterRuler,