src/hg/instinct/hgGeneset/drawingCode.c 1.5
1.5 2010/02/08 20:41:56 jsanborn
fixed silly bug
Index: src/hg/instinct/hgGeneset/drawingCode.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/hgGeneset/drawingCode.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/hg/instinct/hgGeneset/drawingCode.c 29 Jan 2010 22:27:35 -0000 1.4
+++ src/hg/instinct/hgGeneset/drawingCode.c 8 Feb 2010 20:41:56 -0000 1.5
@@ -491,9 +491,9 @@
{
if (!rdList || !settings)
return NULL;
-if (settings->height * settings->width == 0)
+if (settings->height <= 0 || settings->width <= 0)
return NULL;
struct hvGfx *vg;
struct tempName md5Tn;