summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-11-08 13:48:50 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-11-08 13:48:50 +0100
commitddcd5bed4df77bfd91323d80d536f29f17e0cdc6 (patch)
tree0a27fa65484ef48707d4557b7ce05dd65cc08bcb /platform
parentb58b05fe601458de72b35c336590c9def6602081 (diff)
downloadmupdf-ddcd5bed4df77bfd91323d80d536f29f17e0cdc6.tar.xz
Fix 699336: Add more levels to mupdf-x11 zoom list.
Diffstat (limited to 'platform')
-rw-r--r--platform/x11/pdfapp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c
index ea1d39f5..593c9719 100644
--- a/platform/x11/pdfapp.c
+++ b/platform/x11/pdfapp.c
@@ -34,7 +34,11 @@ enum
static void pdfapp_showpage(pdfapp_t *app, int loadpage, int drawpage, int repaint, int transition, int searching);
static void pdfapp_updatepage(pdfapp_t *app);
-static const int zoomlist[] = { 18, 24, 36, 54, 72, 96, 120, 144, 180, 216, 288 };
+static const int zoomlist[] = {
+ 18, 24, 36, 54, 72, 96, 120, 144, 180,
+ 216, 288, 360, 432, 504, 576, 648, 720,
+ 792, 864, 936, 1008, 1080, 1152
+};
static int zoom_in(int oldres)
{