src/hg/instinct/subjectView/subjectView.c 1.8

1.8 2009/11/19 20:18:52 jsanborn
fixed genoheatmap ref to url member
Index: src/hg/instinct/subjectView/subjectView.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/subjectView/subjectView.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/instinct/subjectView/subjectView.c	24 Dec 2008 02:31:38 -0000	1.7
+++ src/hg/instinct/subjectView/subjectView.c	19 Nov 2009 20:18:52 -0000	1.8
@@ -282,10 +282,10 @@
 printf("<FORM ACTION=\"/cgi-bin/subjectView\" NAME=\"mainForm\" METHOD=\"POST\">\n");
 hotLinks();
 
 printf("<BR><font size=\"5\"><B>Subject ID: %s</B></font><BR>", id);
-if (gh->url)
-    printf("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF='%s'>%s</a>", gh->url, gh->longLabel);
+if (gh->local_url)
+    printf("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF='%s'>%s</a>", gh->local_url, gh->longLabel);
 else
     printf("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%s", gh->longLabel);
 
 if (sameString(id, ""))