summaryrefslogtreecommitdiff
path: root/legacy/eet/src/lib/eet_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/eet/src/lib/eet_lib.c')
-rw-r--r--legacy/eet/src/lib/eet_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c
index 95c11db6a1..40574a0709 100644
--- a/legacy/eet/src/lib/eet_lib.c
+++ b/legacy/eet/src/lib/eet_lib.c
@@ -644,7 +644,7 @@ eet_close(Eet_File *ef)
644 /* deref */ 644 /* deref */
645 ef->references--; 645 ef->references--;
646 /* if its still referenced - dont go any further */ 646 /* if its still referenced - dont go any further */
647 if (ef->references > 0) return; 647 if (ef->references != 0) return;
648 /* remove from cache */ 648 /* remove from cache */
649 if (ef->mode == EET_FILE_MODE_READ) 649 if (ef->mode == EET_FILE_MODE_READ)
650 eet_cache_del(ef, &eet_readers, &eet_readers_num); 650 eet_cache_del(ef, &eet_readers, &eet_readers_num);