From b2c594e4da099a5ffc88d447000f631841488366 Mon Sep 17 00:00:00 2001 From: Ravachol Date: Sat, 21 Sep 2024 17:28:16 +0200 Subject: [PATCH] include sys/stat.h --- src/kew.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kew.c b/src/kew.c index e5ed2f2c..871a5e1c 100644 --- a/src/kew.c +++ b/src/kew.c @@ -45,6 +45,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include #include #include +#include #include #include #include "cache.h" @@ -168,7 +169,7 @@ struct Event processInput() { if (strcmp(event.key, "\x7F") == 0 || strcmp(event.key, "\x08") == 0) { - removeFromSearchText(getLibrary()); + removeFromSearchText(); chosenSearchResultRow = 0; fuzzySearch(getLibrary(), fuzzySearchThreshold); event.type = EVENT_SEARCH;