15077d5121318029606a3282c3ffa73e6f8a53a2
kent
  Wed Mar 21 15:49:49 2018 -0700
Updating a comment on case sensitivity on slNameInList.

diff --git src/lib/common.c src/lib/common.c
index a6ad49e..5183e1b 100644
--- src/lib/common.c
+++ src/lib/common.c
@@ -698,31 +698,31 @@
 return FALSE;
 }
 
 boolean slNameInListUseCase(struct slName *list, char *string)
 /* Return true if string is in name list -- case sensitive. */
 {
 struct slName *el;
 for (el = list; el != NULL; el = el->next)
     if (string != NULL && !strcmp(string, el->name))
         return TRUE;
 return FALSE;
 }
 
 void *slNameFind(void *list, char *string)
 /* Return first element of slName list (or any other list starting
- * with next/name fields) that matches string. */
+ * with next/name fields) that matches string. This is case insensitive. */
 {
 struct slName *el;
 for (el = list; el != NULL; el = el->next)
     if (sameWord(string, el->name))
         return el;
 return NULL;
 }
 
 int slNameFindIx(struct slName *list, char *string)
 /* Return index of first element of slName list (or any other
  * list starting with next/name fields) that matches string.
  * Return -1 if not found. */
 {
 struct slName *el;
 int ix = 0;