diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-04 01:57:26 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-04 04:15:15 +0200 |
commit | 7f99a6902a2cec338cb0a23fcde2fd57ba96ce0e (patch) | |
tree | f9cda074a0241aa99c482e18dbf6d085ee016b96 /apps | |
parent | 4999cae3fe1e35d52a143584264190dcb76ab779 (diff) | |
download | mupdf-7f99a6902a2cec338cb0a23fcde2fd57ba96ce0e.tar.xz |
Go to first page when 'g' is pressed without number prefix in viewer.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfapp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 41cc13f8..f9f7f74e 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -805,6 +805,8 @@ void pdfapp_onkey(pdfapp_t *app, int c) case '\r': if (app->numberlen > 0) app->pageno = atoi(app->number); + else + app->pageno = 1; break; case 'G': |