summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 3cde639f6..15cc90228 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -134,7 +134,7 @@ const char* get_svn_revision(void)
if(*eA_svn_version)
return eA_svn_version;
- if ((fp = fopen(".svn/entries", "r")))
+ if ((fp = fopen(".svn/entries", "r")) != NULL)
{
char line[1024];
int rev;