Fix a cut and paste error when implementing the comment search (Klaus
authorVladimir Nadvornik <nadvornik@suse.cz>
Mon, 20 Oct 2008 21:00:18 +0000 (21:00 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Mon, 20 Oct 2008 21:00:18 +0000 (21:00 +0000)
Ethgen)

src/search.c

index 3456e44..52fb39e 100644 (file)
@@ -1870,7 +1870,7 @@ static gint search_file_next(SearchData *sd)
                        }
                else
                        {
-                       match = (sd->match_comment == SEARCH_MATCH_NONE);
+                       match = (sd->match_keywords == SEARCH_MATCH_NONE);
                        }
                }