From 857b0904f8576ad2cbe66636c789edf1a0b05074 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 16 Oct 2007 09:11:43 +0000 Subject: [PATCH] Append to the currect hash. Fix some comments. SVN revision: 32088 --- src/bin/e_fm_mime.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_fm_mime.c b/src/bin/e_fm_mime.c index e72753213..00753ba34 100644 --- a/src/bin/e_fm_mime.c +++ b/src/bin/e_fm_mime.c @@ -200,9 +200,9 @@ e_fm2_mime_handler_glob_add(E_Fm2_Mime_Handler *handler, const char *glob) } 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 @@ e_fm2_mime_handler_mime_del(E_Fm2_Mime_Handler *handler, const char *mime) 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 @@ e_fm2_mime_handler_glob_del(E_Fm2_Mime_Handler *handler, const char *glob) 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);