[Github-comments] [geany/geany-plugins] git-changebar: Add the possibility to undo hunk at cursor position (#531)
Colomban Wendling
notifications at xxxxx
Mon May 15 16:43:35 UTC 2017
b4n commented on this pull request.
> @@ -1044,13 +1053,13 @@ goto_next_hunk_diff_hunk_cb (const git_diff_delta *delta,
if (data->next_line >= 0) {
return 1;
} else if (data->line < hunk->new_start - 1) {
- data->next_line = hunk->new_start - 1;
+ data->next_line = (hunk->new_start == 0) ? 0 : hunk->new_start - 1;
Yeah OK sounds good
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/531#discussion_r116541653
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170515/572971d1/attachment.html>
More information about the Github-comments
mailing list