diff options
author | Lars Hjemli | 2011-05-23 23:28:38 +0200 |
---|---|---|
committer | Lars Hjemli | 2011-05-23 23:28:38 +0200 |
commit | ab350a77b1d3b0e251cc28329f2e16f0566e521e (patch) | |
tree | 1af2b0760858fcd87ce1e628465f9b60af7815e3 /ui-tree.c | |
parent | 652a5a18db3b0409fedfaf8c5720446d87628ba0 (diff) | |
parent | c2b58ed8539fcfa4f05cc9da316bbc782f4b8f10 (diff) | |
download | cgit-ab350a77b1d3b0e251cc28329f2e16f0566e521e.tar.gz cgit-ab350a77b1d3b0e251cc28329f2e16f0566e521e.tar.bz2 cgit-ab350a77b1d3b0e251cc28329f2e16f0566e521e.zip |
Merge branch 'fh/filter-api'
Conflicts:
cgit.c
Diffstat (limited to 'ui-tree.c')
-rw-r--r-- | ui-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ static void print_text_buffer(const char *name, char *buf, unsigned long size) | |||
45 | if (ctx.repo->source_filter) { | 45 | if (ctx.repo->source_filter) { |
46 | html("<td class='lines'><pre><code>"); | 46 | html("<td class='lines'><pre><code>"); |
47 | ctx.repo->source_filter->argv[1] = xstrdup(name); | 47 | ctx.repo->source_filter->argv[1] = xstrdup(name); |
48 | cgit_open_filter(ctx.repo->source_filter); | 48 | cgit_open_filter(ctx.repo->source_filter, ctx.repo); |
49 | html_raw(buf, size); | 49 | html_raw(buf, size); |
50 | cgit_close_filter(ctx.repo->source_filter); | 50 | cgit_close_filter(ctx.repo->source_filter); |
51 | free(ctx.repo->source_filter->argv[1]); | 51 | free(ctx.repo->source_filter->argv[1]); |