-rw-r--r-- | ui-log.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -94,6 +94,4 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern setup_revisions(argc, argv, &rev, NULL); - if (rev.grep_filter) { - rev.grep_filter->regflags |= REG_ICASE; - compile_grep_patterns(rev.grep_filter); - } + rev.grep_filter.regflags |= REG_ICASE; + compile_grep_patterns(&rev.grep_filter); prepare_revision_walk(&rev); |