minors
authoradam <adamansky@gmail.com>
Thu, 28 Mar 2013 11:11:55 +0000 (18:11 +0700)
committeradam <adamansky@gmail.com>
Thu, 28 Mar 2013 11:11:55 +0000 (18:11 +0700)
tcejdb/tcutil.c

index e638daa..5f1bc2b 100644 (file)
@@ -6513,7 +6513,7 @@ TCLIST *tcstrkwic(const char *str, const TCLIST *words, int width, int opts){
         TCMALLOC(tbuf, ti * 5 + 1);
         int wi = 0;
         wi += tcstrutfkwicputtext(oary, nary, 0, ti, nanum, tbuf + wi, uwords, opts);
-        if(!(opts & TCKWNOOVER) && opts & TCKWMUTAB){
+        if(!(opts & TCKWNOOVER) && (opts & TCKWMUTAB)){
           tbuf[wi++] = '\t';
           tbuf[wi++] = '\t';
         }