diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-04 02:27:31 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-04 04:15:18 +0200 |
commit | 95aa002fd771193f1f8ab1f1f9c0f2d944282ffa (patch) | |
tree | 504f6830ec1de1e643f69cc6e7de5a980f305aa4 /apps | |
parent | 7f99a6902a2cec338cb0a23fcde2fd57ba96ce0e (diff) | |
download | mupdf-95aa002fd771193f1f8ab1f1f9c0f2d944282ffa.tar.xz |
Do not search for empty strings in viewer.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfapp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index f9f7f74e..7f123268 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -683,7 +683,8 @@ void pdfapp_onkey(pdfapp_t *app, int c) { app->isediting = 0; winrepaint(app); - pdfapp_onkey(app, 'n'); + if (n > 0) + pdfapp_onkey(app, 'n'); } if (c == '\033') { |