Commit 5c93039
committed
Fix going ahead of the history of the file turning screen blank forever.
When pressing back (`[`) until before the commit that added
the inspected file, the blame contents go blank (makes sense).
When going forward again, until now it was possible that they
stay blank because `highlight_line` could become `-1`, and
once this happened, it would stay `-1` forever.
This commit fixes it by making sure that `max_highlight`
cannot be negative.1 parent bb83656 commit 5c93039
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments