diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-04 02:37:58 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2011-09-04 04:15:22 +0200 |
commit | 68bf0afb5642a67761877b61cdc3a90fe0668c18 (patch) | |
tree | 9182bd09700a0c2224519a62b583d77644f3d157 /apps | |
parent | 95aa002fd771193f1f8ab1f1f9c0f2d944282ffa (diff) | |
download | mupdf-68bf0afb5642a67761877b61cdc3a90fe0668c18.tar.xz |
Send string not found message to viewer app, don't print on stdout.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfapp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 7f123268..8abc1e1e 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -602,7 +602,7 @@ static void pdfapp_searchforward(pdfapp_t *app) } while (app->pageno != startpage); if (app->pageno == startpage) - printf("hit not found\n"); + pdfapp_warn(app, "String '%s' not found.", app->search); wincursor(app, HAND); } @@ -650,7 +650,7 @@ static void pdfapp_searchbackward(pdfapp_t *app) } while (app->pageno != startpage); if (app->pageno == startpage) - printf("hit not found\n"); + pdfapp_warn(app, "String '%s' not found.", app->search); wincursor(app, HAND); } |