summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2011-10-03 00:34:27 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-10-12 13:44:14 +0200
commit8be6412105a3c0b9a255b6a89ae164c91d3519de (patch)
tree291db094c14ba7ea4e548297a020e10a53ff9883 /apps
parent4ff408357b4584a84bc450a765fe11e7a52e8f00 (diff)
downloadmupdf-8be6412105a3c0b9a255b6a89ae164c91d3519de.tar.xz
Make entering search terms not interfere with page number drawing.
Diffstat (limited to 'apps')
-rw-r--r--apps/x11_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c
index 6d8e789e..a2d36ac5 100644
--- a/apps/x11_main.c
+++ b/apps/x11_main.c
@@ -529,7 +529,7 @@ static void onkey(int c)
winrepaint(&gapp);
}
- if (c == 'P')
+ if (!gapp.isediting && c == 'P')
{
showingpage = 1;
winrepaint(&gapp);