diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-29 16:19:53 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:28 +0700 |
commit | 6afdcfc2291eb22c7229502c1a5b41d28e135776 (patch) | |
tree | 08289cd77c08a0481ef70a8db42898912c0d2190 /office/fbpdf/navigation.diff | |
parent | 626814036bdb037b2057e67593ece8bbcc6ac2bd (diff) | |
download | slackbuilds-6afdcfc2291eb22c7229502c1a5b41d28e135776.tar.gz |
office/fbpdf: Updated for version 20200617_f590024.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/fbpdf/navigation.diff')
-rw-r--r-- | office/fbpdf/navigation.diff | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/office/fbpdf/navigation.diff b/office/fbpdf/navigation.diff index efab91be67..07b066b604 100644 --- a/office/fbpdf/navigation.diff +++ b/office/fbpdf/navigation.diff @@ -1,49 +1,52 @@ -diff -Naur fbpdf-20160804/README fbpdf-20160804.patched/README ---- fbpdf-20160804/README 2016-08-04 15:19:06.282346689 -0400 -+++ fbpdf-20160804.patched/README 2016-08-04 15:07:40.384322633 -0400 -@@ -22,6 +22,9 @@ +diff -Naur fbpdf-20200617_f590024/README fbpdf-20200617_f590024.patched/README +--- fbpdf-20200617_f590024/README 2021-09-27 04:15:02.000000000 -0400 ++++ fbpdf-20200617_f590024.patched/README 2021-09-29 02:31:51.610212471 -0400 +@@ -21,7 +21,9 @@ + G go to page (the last page if no prefix) o set page number (for 'G' command only) O set page number and go to current page - z zoom; prefix multiplied by 10 (i.e. '15z' = 150%) +-z zoom; prefix multiplied by 10 (i.e. '15z' = 150%) +z/= zoom; prefix multiplied by 10 (i.e. '12z' = 120%). Default 15. ++ increase zoom by 10% +- decrease zoom by 10% r set rotation in degrees i print some information - q quit -diff -Naur fbpdf-20160804/fbpdf.c fbpdf-20160804.patched/fbpdf.c ---- fbpdf-20160804/fbpdf.c 2016-08-04 15:19:06.282346689 -0400 -+++ fbpdf-20160804.patched/fbpdf.c 2016-08-04 15:18:38.618345719 -0400 -@@ -252,6 +252,7 @@ + I invert colors +diff -Naur fbpdf-20200617_f590024/fbpdf.c fbpdf-20200617_f590024.patched/fbpdf.c +--- fbpdf-20200617_f590024/fbpdf.c 2021-09-27 04:15:02.000000000 -0400 ++++ fbpdf-20200617_f590024.patched/fbpdf.c 2021-09-29 16:07:26.245764122 -0400 +@@ -269,6 +269,7 @@ srow = prow; break; case 'z': + case '=': + count *= 10; zoom_page(getcount(zoom_def)); break; - case 'w': -@@ -301,10 +302,18 @@ +@@ -319,10 +320,20 @@ case ' ': case CTRLKEY('d'): srow += srows * getcount(1) - step; -+ if(srow > prows) { ++ if(srow >= (prow + prows)) { + srow = 0; + loadpage(num + 1); ++ srow = prow; + } break; case 127: case CTRLKEY('u'): srow -= srows * getcount(1) - step; -+ if(srow < 0) { ++ if(srow <= 0) { + srow = prows - step; + loadpage(num - 1); ++ srow = prow; + } break; case '[': scol = pcol; -@@ -320,6 +329,14 @@ - break; - case CTRLKEY('l'): +@@ -342,6 +353,14 @@ + invert = !invert; + loadpage(num); break; + case '+': + count = 0; |