diff options
Diffstat (limited to 'src/delta.rs')
-rw-r--r-- | src/delta.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delta.rs b/src/delta.rs index 7d9704b8..c51033c2 100644 --- a/src/delta.rs +++ b/src/delta.rs @@ -386,7 +386,7 @@ fn handle_hunk_header_line( decoration_ansi_term_style, )?; } else { - let line = match prepare(raw_code_fragment, false, config) { + let line = match prepare(&raw_code_fragment, false, config) { s if s.len() > 0 => format!("{} ", s), s => s, }; |