Enlightenment CVS committal
Author : stffrdhrn
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_fileman_mime.c
Log Message:
* Use case insensitive match for suffixes
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_mime.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_fileman_mime.c 17 Feb 2006 13:36:31 -0000 1.7
+++ e_fileman_mime.c 18 Feb 2006 01:12:43 -0000 1.8
@@ -322,8 +322,8 @@
E_Fm_Mime_Entry *entry;
entry = (E_Fm_Mime_Entry *)l->data;
+
/* FIXME add all the possible comparision, suffix,regexp,flags,etc */
-
if(entry->suffix)
{
char *suffix;
@@ -331,7 +331,7 @@
suffix = _e_fm_mime_suffix_get(file->name);
if(!suffix)
continue;
- if(!strcmp(suffix,entry->suffix))
+ if(!strcasecmp(suffix,entry->suffix))
{
//printf("found by suffix %s\n", suffix);
file->mime = entry;
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs