diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-27 10:39:58 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-27 10:39:58 +0300 |
commit | 8070b171badbfaf15b56bcce664098f06f81b4e2 (patch) | |
tree | 9992d96ff8d7d93a996567a0abae4263d03d9bad /src/ui/documentwidget.c | |
parent | 91917d78832e044efaf6480d63ae4f72a8385d2e (diff) |
Showing and hiding the search bar
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index f0170924..d0fa60ab 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -430,7 +430,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
430 | d->foundMark = finder( | 430 | d->foundMark = finder( |
431 | d->doc, text_InputWidget(find), dir > 0 ? d->foundMark.end : d->foundMark.start); | 431 | d->doc, text_InputWidget(find), dir > 0 ? d->foundMark.end : d->foundMark.start); |
432 | if (!d->foundMark.start && wrap) { | 432 | if (!d->foundMark.start && wrap) { |
433 | /* Wrap around */ | 433 | /* Wrap around. */ |
434 | d->foundMark = finder(d->doc, text_InputWidget(find), NULL); | 434 | d->foundMark = finder(d->doc, text_InputWidget(find), NULL); |
435 | } | 435 | } |
436 | if (d->foundMark.start) { | 436 | if (d->foundMark.start) { |