8fdc86ea29f656cf7efee9954fdae6b573190fb3
tdreszer
  Fri May 6 17:23:22 2011 -0700
Standardized replacement for <P> with cgiDown and worked out more spacing issues in hgFileUi and hgTrackUi.
diff --git src/lib/cheapcgi.c src/lib/cheapcgi.c
index ff099e9..8397f34 100644
--- src/lib/cheapcgi.c
+++ src/lib/cheapcgi.c
@@ -2044,30 +2044,36 @@
 {
 freez(&inputString);
 inputString = NULL;
 if (inputHash != NULL)
     hashFree(&inputHash);
 inputHash = NULL;
 inputList = NULL;
 
 haveCookiesHash = FALSE;
 if (cookieHash != NULL)
     hashFree(&cookieHash);
 cookieHash = NULL;
 cookieList = NULL;
 }
 
+void cgiDown(float lines)
+// Drop down a certain number of lines (may be fractional)
+{
+printf("<div style='height:%fem;'></div>\n",lines);
+}
+
 char *commonCssStyles()
 /* Returns a string of common CSS styles */
 {
 // Contents currently is OBSOLETE as these have been moved to HGStyle.css
 // However, don't loose this function call yet, as it may have future uses.
 return "";
 #ifdef OMIT
 static boolean commonStylesWritten = FALSE;
 if(commonStylesWritten)
     return "";
 commonStylesWritten = TRUE;
 
 struct dyString *style = newDyString(256);
 
 dyStringPrintf(style,"\n<style type='text/css'>\n");