Enlightenment CVS committal
Author : englebass
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_theme.c
Log Message:
Remove unused variable.
Don't abuse pointers.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_theme.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_theme.c 21 Oct 2006 10:28:01 -0000 1.26
+++ e_theme.c 14 Dec 2006 15:32:38 -0000 1.27
@@ -244,12 +244,17 @@
}
if (coll) edje_file_collection_list_free(coll);
}
- ok = evas_hash_find(res->quickfind, group);
/* save in the group cache hash */
- if (ok)
- group_cache = evas_hash_add(group_cache, buf, res);
+ if (evas_hash_find(res->quickfind, group))
+ {
+ group_cache = evas_hash_add(group_cache, buf, res);
+ ok = 1;
+ }
else
- group_cache = evas_hash_add(group_cache, buf, (void *)1);
+ {
+ group_cache = evas_hash_add(group_cache, buf, (void *)1);
+ ok = 0;
+ }
}
else if (tres == (void *)1) /* special pointer "1" == not there */
ok = 0;
@@ -274,7 +279,6 @@
e_theme_file_set(const char *category, const char *file)
{
E_Theme_Result *res;
- char buf[4096];
if (group_cache)
{
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs