src/hg/encode/hgEncodeVocab/hgEncodeVocab.c 1.21
1.21 2009/03/06 22:33:44 tdreszer
Remove extra slash in link
Index: src/hg/encode/hgEncodeVocab/hgEncodeVocab.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/hgEncodeVocab/hgEncodeVocab.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -B -U 4 -r1.20 -r1.21
--- src/hg/encode/hgEncodeVocab/hgEncodeVocab.c 6 Mar 2009 21:10:05 -0000 1.20
+++ src/hg/encode/hgEncodeVocab/hgEncodeVocab.c 6 Mar 2009 22:33:44 -0000 1.21
@@ -205,9 +205,9 @@
/* add link to protocol doc if it exists */
#define PROTOCOL_DIR "/ENCODE/protocols/cell/"
char protocolUrl[PATH_LEN];
- safef(protocolUrl, sizeof(protocolUrl), "%s/%s_protocol.pdf", PROTOCOL_DIR, term);
+ safef(protocolUrl, sizeof(protocolUrl), "%s%s_protocol.pdf", PROTOCOL_DIR, term);
char protocolFile[PATH_LEN];
safef(protocolFile, sizeof(protocolFile), "%s%s", hDocumentRoot(), protocolUrl);
if (fileExists(protocolFile))
printf(" <TD><A STYLE=\"text-decoration:none\"HREF=%s TARGET=_BLANK>%s</A></TD>\n", protocolUrl, term);