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 b51dd8a0..1c939700 100644
--- a/src/subcommands/show_colors.rs
+++ b/src/subcommands/show_colors.rs
@@ -45,7 +45,7 @@ pub fn show_colors() -> std::io::Result<()> {
painter.syntax_highlight_and_paint_line(
line,
paint::StyleSectionSpecifier::Style(style),
- delta::State::HunkZero(DiffType::Unified),
+ delta::State::HunkZero(DiffType::Unified, None),
BgShouldFill::default(),
)
}
@@ -64,7 +64,7 @@ pub fn show_colors() -> std::io::Result<()> {
painter.syntax_highlight_and_paint_line(
line,
paint::StyleSectionSpecifier::Style(style),
- delta::State::HunkZero(DiffType::Unified),
+ delta::State::HunkZero(DiffType::Unified, None),
BgShouldFill::default(),
)
}