]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix build break
authorNRK <nrk@disroot.org>
Thu, 30 Jun 2022 09:36:59 +0000 (15:36 +0600)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 30 Jun 2022 16:56:17 +0000 (22:26 +0530)
src/nnn.c

index f8a2c58c33a53c4b93b1fe54372f63ca15247225..9844935e567e23f021433dc7085a4e189dd16592 100644 (file)
--- 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