From 7121a6fe438c3c06c448261aacd535dbc4a6aa4e Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 30 Jun 2022 15:36:59 +0600 Subject: [PATCH] Fix build break --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index f8a2c58c..9844935e 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -6585,7 +6585,7 @@ static bool browse(char *ipath, const char *session, int pkey) #ifndef NOMOUSE MEVENT event = {0}; - struct timespec mousetimings[2] = {0}; + struct timespec mousetimings[2] = {{.tv_sec = 0, .tv_nsec = 0}, {.tv_sec = 0, .tv_nsec = 0}}; int mousedent[2] = {-1, -1}; bool currentmouse = 1, rightclicksel = 0; #endif