diff options
author | B. Watson <yalhcru@gmail.com> | 2016-08-04 15:46:20 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | bb6381c8fe1b996e58e930f234633cf4c8e2cf98 (patch) | |
tree | b5a9094642d6246f3f85db79eac73b755f417223 /office/fbpdf/navigation.diff | |
parent | 85cde4df65d09364b5227acd6fbb557df398ff31 (diff) | |
download | slackbuilds-bb6381c8fe1b996e58e930f234633cf4c8e2cf98.tar.gz |
office/fbpdf: Updated for version 20160804.
Diffstat (limited to 'office/fbpdf/navigation.diff')
-rw-r--r-- | office/fbpdf/navigation.diff | 53 |
1 files changed, 29 insertions, 24 deletions
diff --git a/office/fbpdf/navigation.diff b/office/fbpdf/navigation.diff index 6280062a68..efab91be67 100644 --- a/office/fbpdf/navigation.diff +++ b/office/fbpdf/navigation.diff @@ -1,42 +1,47 @@ -diff -Naur fbpdf-20140822/README fbpdf-20140822.patched/README ---- fbpdf-20140822/README 2014-08-21 21:12:00.000000000 -0400 -+++ fbpdf-20140822.patched/README 2014-08-22 04:53:46.000000000 -0400 -@@ -28,7 +28,9 @@ - G go to page (the last page if no prefix) +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 @@ 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 info + i print some information q quit -diff -Naur fbpdf-20140822/fbpdf.c fbpdf-20140822.patched/fbpdf.c ---- fbpdf-20140822/fbpdf.c 2014-08-21 21:12:00.000000000 -0400 -+++ fbpdf-20140822.patched/fbpdf.c 2014-08-22 04:53:56.000000000 -0400 -@@ -220,6 +220,7 @@ - numdiff = num - getcount(num); +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 @@ + srow = prow; break; case 'z': + case '=': zoom_page(getcount(zoom_def)); break; - case 'Z': -@@ -288,10 +289,12 @@ + case 'w': +@@ -301,10 +302,18 @@ case ' ': - case CTRL('d'): - head += fb_rows() * getcount(1) - step; -+ if(head > prows) showpage(num + 1, 0); + case CTRLKEY('d'): + srow += srows * getcount(1) - step; ++ if(srow > prows) { ++ srow = 0; ++ loadpage(num + 1); ++ } break; case 127: - case CTRL('u'): - head -= fb_rows() * getcount(1) - step; -+ if(head < 0) showpage(num - 1, prows - step); + case CTRLKEY('u'): + srow -= srows * getcount(1) - step; ++ if(srow < 0) { ++ srow = prows - step; ++ loadpage(num - 1); ++ } break; case '[': - left = leftmost(0); -@@ -307,6 +310,14 @@ + scol = pcol; +@@ -320,6 +329,14 @@ break; case CTRLKEY('l'): break; @@ -48,6 +53,6 @@ diff -Naur fbpdf-20140822/fbpdf.c fbpdf-20140822.patched/fbpdf.c + count = 0; + if(zoom > 0) zoom_page(zoom - 1); + break; - default: - /* no need to redraw */ + default: /* no need to redraw */ continue; + } |