src/hg/overlapSelect/selectTable.c 1.32

1.32 2010/03/25 16:16:21 markd
fixed stupid bug that caused -idMatch to do the exact opposite of what it was suppose to do
Index: src/hg/overlapSelect/selectTable.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/overlapSelect/selectTable.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -b -B -U 4 -r1.31 -r1.32
--- src/hg/overlapSelect/selectTable.c	31 Jul 2009 18:09:24 -0000	1.31
+++ src/hg/overlapSelect/selectTable.c	25 Mar 2010 16:16:21 -0000	1.32
@@ -96,10 +96,9 @@
 if ((opts & selOppositeStrand) && (inCa->strand == selCa->strand))
     return FALSE;
 if ((opts & selExcludeSelf) && isSelfMatch(opts, inCa, selCa))
     return FALSE;
-if ((opts & selIdMatch) && (inCa->name != NULL) && (selCa->name != NULL)
-    && sameString(inCa->name, selCa->name))
+if ((opts & selIdMatch) && (inCa->name != NULL) && (selCa->name != NULL) && !sameString(inCa->name, selCa->name))
     return FALSE;
 return TRUE;
 }