defe10add99bcae054cc6aac191fb063ecde3d74
kate
  Fri Feb 1 15:20:54 2013 -0800
Buf too small!  Needed to expand for track with 177x91 trackUi matrix:  #10042 Uniform TFBS
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index c8ae6e0..29d22a4 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -26,31 +26,31 @@
 #include "web.h"
 #include "hPrint.h"
 #include "fileUi.h"
 #include "bigBed.h"
 #include "bigWig.h"
 #include "regexHelper.h"
 #include "vcfUi.h"
 #include "vcf.h"
 #include "errCatch.h"
 #include "samAlignment.h"
 #include "makeItemsItem.h"
 #include "bedDetail.h"
 #include "pgSnp.h"
 #include "memgfx.h"
 
-#define SMALLBUF 128
+#define SMALLBUF 256
 #define MAX_SUBGROUP 9
 #define ADD_BUTTON_LABEL        "add"
 #define CLEAR_BUTTON_LABEL      "clear"
 #define JBUFSIZE 2048
 
 #ifdef BUTTONS_BY_CSS
 #define BUTTON_PM  "<span class='pmButton' " \
                    "onclick=\"setCheckBoxesThatContain('%s',%s,true,'%s','','%s')\">%c</span>"
 #define BUTTON_DEF "<span class='pmButton' " \
                    "onclick=\"setCheckBoxesThatContain('%s',true,false,'%s','','%s'); " \
                    "setCheckBoxesThatContain('%s',false,false,'%s','_defOff','%s');\" " \
                    "style='width:56px;font-weight:normal; font-family:default;'>default</span>"
 #define DEFAULT_BUTTON(nameOrId,anc,beg,contains) \
         printf(BUTTON_DEF,(nameOrId),        (beg),(contains),(nameOrId),(beg),(contains))
 #define PLUS_BUTTON(nameOrId,anc,beg,contains) \