summaryrefslogtreecommitdiff
path: root/platform/x11/win_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11/win_main.c')
-rw-r--r--platform/x11/win_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c
index 6ddd171a..5c431ee2 100644
--- a/platform/x11/win_main.c
+++ b/platform/x11/win_main.c
@@ -709,7 +709,7 @@ void windrawstring(pdfapp_t *app, int x, int y, char *s)
void winblitsearch()
{
- if (gapp.isediting)
+ if (gapp.issearching)
{
char buf[sizeof(gapp.search) + 50];
sprintf(buf, "Search: %s", gapp.search);