summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-03-29 07:07:44 +0100
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-03-28 23:16:14 -0700
commitfed067fc9e2d2b0fcb9acf9c49a6280428e2c7a1 (patch)
tree39634a81fb12f23649a9ec98b95fe3ed060d7050 /app-misc/skim
parentRevert "mail-mta/postfix: add maintainer to metadata.xml." (diff)
downloadgentoo-fed067fc9e2d2b0fcb9acf9c49a6280428e2c7a1.tar.gz
gentoo-fed067fc9e2d2b0fcb9acf9c49a6280428e2c7a1.tar.bz2
gentoo-fed067fc9e2d2b0fcb9acf9c49a6280428e2c7a1.zip
app-misc/skim: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11529 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-misc/skim')
-rw-r--r--app-misc/skim/files/0.6.2-cursor-fix.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/app-misc/skim/files/0.6.2-cursor-fix.patch b/app-misc/skim/files/0.6.2-cursor-fix.patch
deleted file mode 100644
index 82fcccdae536..000000000000
--- a/app-misc/skim/files/0.6.2-cursor-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 9b5213da447eb8674570924026689d89f83ce9b6 Mon Sep 17 00:00:00 2001
-From: Jinzhou Zhang <lotabout@gmail.com>
-Date: Tue, 19 Mar 2019 22:39:05 +0800
-Subject: [PATCH] [selection] fix cursor after items changed
-
----
- src/selection.rs | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/selection.rs b/src/selection.rs
-index 626f615..72d277e 100644
---- a/src/selection.rs
-+++ b/src/selection.rs
-@@ -98,7 +98,7 @@ impl Selection {
-
- if self.items.len() <= self.line_cursor + self.item_cursor {
- // if not enough items, scroll the cursor a page down
-- self.item_cursor = max(height, self.item_cursor) - height;
-+ self.item_cursor = max(self.items.len(), height) - height;
- }
- }
-