90412e44eae8bf8b34a229f56a9f18362d26a0a1 hiram Wed Dec 2 11:24:35 2015 -0800 our standard html doc type HTML 4.01 Transitional should not use " />" closing tags, refs no redmine diff --git src/hg/lib/cart.c src/hg/lib/cart.c index fef4e84..146e638 100644 --- src/hg/lib/cart.c +++ src/hg/lib/cart.c @@ -1723,31 +1723,31 @@ /* If 'theme' variable is set in cart: overwrite background with the one from * defined for this theme Also set the "styleTheme", with additional styles * that can overwrite the main style settings */ { // Get theme from cart and use it to get background file from config; // format is browser.theme.=[,] char *cartTheme = cartOptionalString(cart, "theme"); // XXXX which setting should take precedence? Currently browser.theme does. char *styleFile = cfgOption("browser.style"); if(styleFile != NULL) { char buf[512]; - safef(buf, sizeof(buf), "", styleFile); + safef(buf, sizeof(buf), "", styleFile); char *copy = cloneString(buf); htmlSetStyleTheme(copy); // for htmshell.c, used by hgTracks webSetStyle(copy); // for web.c, used by hgc } if(isNotEmpty(cartTheme)) { char *themeKey = catTwoStrings("browser.theme.", cartTheme); styleFile = cfgOption(themeKey); freeMem(themeKey); if (isEmpty(styleFile)) return; char * link = webTimeStampedLinkToResourceOnFirstCall(styleFile, TRUE); // resource file link wrapped in html if (link != NULL)