summaryrefslogtreecommitdiffstats
path: root/src/subcommands/show_colors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/subcommands/show_colors.rs')
-rw-r--r--src/subcommands/show_colors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subcommands/show_colors.rs b/src/subcommands/show_colors.rs
index fd194377..45a70156 100644
--- a/src/subcommands/show_colors.rs
+++ b/src/subcommands/show_colors.rs
@@ -43,7 +43,7 @@ pub fn show_colors() -> std::io::Result<()> {
painter.syntax_highlight_and_paint_line(
line,
paint::StyleSectionSpecifier::Style(style),
- delta::State::HunkZero,
+ delta::State::HunkZero(None),
BgShouldFill::default(),
)
}
@@ -62,7 +62,7 @@ pub fn show_colors() -> std::io::Result<()> {
painter.syntax_highlight_and_paint_line(
line,
paint::StyleSectionSpecifier::Style(style),
- delta::State::HunkZero,
+ delta::State::HunkZero(None),
BgShouldFill::default(),
)
}