summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_mime.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/efreet/efreet_mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_mime.c b/src/lib/efreet/efreet_mime.c
index 6cb331b43b..63e6b15c02 100644
--- a/src/lib/efreet/efreet_mime.c
+++ b/src/lib/efreet/efreet_mime.c
@@ -204,7 +204,7 @@ _efreet_mimedb_update(void)
204 if (mimedb_ptr) 204 if (mimedb_ptr)
205 { 205 {
206 mimedb_size = eina_file_size_get(mimedb); 206 mimedb_size = eina_file_size_get(mimedb);
207 if ((mimedb_size > (16 + 4 + 4 + 4) && 207 if ((mimedb_size >= (16 + 4 + 4 + 4) &&
208 (!strncmp((char *)mimedb_ptr, "EfrEeT-MiMeS-001", 16)))) 208 (!strncmp((char *)mimedb_ptr, "EfrEeT-MiMeS-001", 16))))
209 { 209 {
210 // load ok - magic fine. more sanity checks? 210 // load ok - magic fine. more sanity checks?