From c7891b56fec4c7f8c85d28e33bb34e5d4b88d616 Mon Sep 17 00:00:00 2001
From: Alexey Aleshkov <djmadcat@gmail.com>
Date: Sun, 10 Dec 2017 14:30:15 +0300
Subject: [PATCH] Add missed parentheses around the assignment

---
 src/my.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/my.c b/src/my.c
index 701dd1d..08877e9 100644
--- a/src/my.c
+++ b/src/my.c
@@ -99,7 +99,7 @@ void myrandomize(void)
 int fexists(char * filename)
 {
     FILE *f;
-    if (f = fopen(filename, "r"))
+    if ((f = fopen(filename, "r")))
     {
         fclose(f);
         return 1;
-- 
2.29.2