Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/skim/files/
Date: Fri, 29 Mar 2019 06:17:06
Message-Id: 1553840174.fed067fc9e2d2b0fcb9acf9c49a6280428e2c7a1.gyakovlev@gentoo
1 commit: fed067fc9e2d2b0fcb9acf9c49a6280428e2c7a1
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Mar 29 06:07:44 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 29 06:16:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fed067fc
7
8 app-misc/skim: remove unused patch(es)
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/11529
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 app-misc/skim/files/0.6.2-cursor-fix.patch | 22 ----------------------
15 1 file changed, 22 deletions(-)
16
17 diff --git a/app-misc/skim/files/0.6.2-cursor-fix.patch b/app-misc/skim/files/0.6.2-cursor-fix.patch
18 deleted file mode 100644
19 index 82fcccdae53..00000000000
20 --- a/app-misc/skim/files/0.6.2-cursor-fix.patch
21 +++ /dev/null
22 @@ -1,22 +0,0 @@
23 -From 9b5213da447eb8674570924026689d89f83ce9b6 Mon Sep 17 00:00:00 2001
24 -From: Jinzhou Zhang <lotabout@×××××.com>
25 -Date: Tue, 19 Mar 2019 22:39:05 +0800
26 -Subject: [PATCH] [selection] fix cursor after items changed
27 -
28 ----
29 - src/selection.rs | 2 +-
30 - 1 file changed, 1 insertion(+), 1 deletion(-)
31 -
32 -diff --git a/src/selection.rs b/src/selection.rs
33 -index 626f615..72d277e 100644
34 ---- a/src/selection.rs
35 -+++ b/src/selection.rs
36 -@@ -98,7 +98,7 @@ impl Selection {
37 -
38 - if self.items.len() <= self.line_cursor + self.item_cursor {
39 - // if not enough items, scroll the cursor a page down
40 -- self.item_cursor = max(height, self.item_cursor) - height;
41 -+ self.item_cursor = max(self.items.len(), height) - height;
42 - }
43 - }
44 -