DEADSOFTWARE

Add missed parentheses around the assignment
authorAlexey Aleshkov <djmadcat@gmail.com>
Sun, 10 Dec 2017 11:30:15 +0000 (14:30 +0300)
committerAlexey Aleshkov <djmadcat@gmail.com>
Sun, 10 Dec 2017 11:32:11 +0000 (14:32 +0300)
src/my.c

index 701dd1d8cceca2518d9017ab6490b01f84109dbd..08877e98cc0e8edf835d80565694f5854ff6f27a 100644 (file)
--- 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;