comparison src/search.c @ 1073:577d726e32f0

Fix a cut and paste error when implementing the comment search (Klaus Ethgen)
author nadvornik
date Mon, 20 Oct 2008 21:00:18 +0000
parents c28eb027dd5b
children 3a7af6a8cd5f
comparison
equal deleted inserted replaced
1072:4ae9461e88ca 1073:577d726e32f0
1868 } 1868 }
1869 string_list_free(list); 1869 string_list_free(list);
1870 } 1870 }
1871 else 1871 else
1872 { 1872 {
1873 match = (sd->match_comment == SEARCH_MATCH_NONE); 1873 match = (sd->match_keywords == SEARCH_MATCH_NONE);
1874 } 1874 }
1875 } 1875 }
1876 1876
1877 if (match && sd->match_comment_enable && sd->search_comment && strlen(sd->search_comment)) 1877 if (match && sd->match_comment_enable && sd->search_comment && strlen(sd->search_comment))
1878 { 1878 {