418e37887e87a3dd33a2ef0efe960861812b755a
kent
  Thu Apr 28 16:51:09 2011 -0700
Fixing it so that 16 as the max smoothing window appears only one place.
diff --git src/hg/inc/hui.h src/hg/inc/hui.h
index 49f0298..ac0ba82 100644
--- src/hg/inc/hui.h
+++ src/hg/inc/hui.h
@@ -1,23 +1,25 @@
 /* hui - human genome browser user interface controls that are shared
  * between more than one CGI. */
 #ifndef HUI_H
 #define HUI_H
 
 #include "cart.h"
 #include "trackDb.h"
 #include "customTrack.h"
+#include "wiggle.h"
+
 struct lineFile;
 
 void setUdcCacheDir();
 /* set the path to the udc cache dir */
 
 char *hDownloadsServer();
 /* get the downloads server from hg.conf or the default */
 
 char *hUserCookie();
 /* Return our cookie name. */
 
 char *wrapWhiteFont(char *s);
 /* Write white font around s */
 
 #define HELP_DIR "/goldenPath/help"
@@ -468,31 +470,31 @@
    wiggleSmoothing2 = 1,
    wiggleSmoothing3 = 2,
    wiggleSmoothing4 = 3,
    wiggleSmoothing5 = 4,
    wiggleSmoothing6 = 5,
    wiggleSmoothing7 = 6,
    wiggleSmoothing8 = 7,
    wiggleSmoothing9 = 8,
    wiggleSmoothing10 = 9,
    wiggleSmoothing11 = 10,
    wiggleSmoothing12 = 11,
    wiggleSmoothing13 = 12,
    wiggleSmoothing14 = 13,
    wiggleSmoothing15 = 14,
    wiggleSmoothing16 = 15,
-   wiggleSmoothingMax = 16,	/* Not an option, but lets us keep track of memory to use */
+   wiggleSmoothingMax = MAX_SMOOTHING,	/* Not an option, but lets us keep track of memory to use */
 };
 
 enum wiggleSmoothingEnum wiggleSmoothingStringToEnum(char *string);
 /* Convert from string to enum representation. */
 
 char *wiggleSmoothingEnumToString(enum wiggleSmoothingEnum x);
 /* Convert from enum to string representation. */
 
 void wiggleSmoothingDropDown(char *var, char *curVal);
 /* Make drop down of options. */
 
 /*	Wiggle track y Line Mark on/off option	*/
 enum wiggleYLineMarkEnum {
    wiggleYLineMarkOff = 0,
    wiggleYLineMarkOn = 1,