Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_fm_mime.c
Log Message:
Append to the currect hash.
Fix some comments.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_mime.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_fm_mime.c 16 Oct 2007 04:10:03 -0000 1.26
+++ e_fm_mime.c 16 Oct 2007 09:11:43 -0000 1.27
@@ -200,9 +200,9 @@
}
else
{
- /* no previous entry for this mime, lets add one */
+ /* no previous entry for this glob, lets add one */
handlers = evas_list_append(handlers, handler);
- _glob_handlers = evas_hash_add(_mime_handlers, glob, handlers);
+ _glob_handlers = evas_hash_add(_glob_handlers, glob, handlers);
}
return 1;
@@ -216,7 +216,7 @@
if ((!handler) || (!mime)) return;
- /* if there's an entry for this mime already, then append to its list */
+ /* if there's an entry for this mime already, then remove from list */
if ((handlers = evas_hash_find(_mime_handlers, mime)))
{
handlers = evas_list_remove(handlers, handler);
@@ -235,7 +235,7 @@
if ((!handler) || (!glob)) return;
- /* if there's an entry for this glob already, then append to its list */
+ /* if there's an entry for this glob already, then remove from list */
if ((handlers = evas_hash_find(_glob_handlers, glob)))
{
handlers = evas_list_remove(handlers, handler);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs