From: NRK Date: Thu, 30 Jun 2022 09:36:59 +0000 (+0600) Subject: Fix build break X-Git-Tag: v4.6~25 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7121a6fe438c3c06c448261aacd535dbc4a6aa4e;p=nnn.git Fix build break --- 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