summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/diff.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/diff.tcl b/lib/diff.tcl
index 18aba3e..d04f6db 100644
--- a/lib/diff.tcl
+++ b/lib/diff.tcl
@@ -358,5 +358,7 @@ proc apply_hunk {x y} {
display_file $current_diff_path $mi
if {$o eq {_}} {
clear_diff
+ } else {
+ set current_diff_path $current_diff_path
}
}