kwo pushed a commit to branch master.
commit 4bded497e469f2fd31ba7f5f4e6e2617e50286b0
Author: Kim Woelders <[email protected]>
Date: Sun Jun 9 19:42:02 2013 +0200
Fix bug in ActionClass loading.
Was most likely not causing trouble.
---
src/aclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/aclass.c b/src/aclass.c
index 9d86746..182f051 100644
--- a/src/aclass.c
+++ b/src/aclass.c
@@ -337,9 +337,9 @@ AclassConfigLoad(FILE * fs)
break;
case CONFIG_TYPE:
case ACLASS_TYPE:
- if (i2 == ACLASS_TYPE_ACLASS)
+ if (!ac || i2 == ACLASS_TYPE_ACLASS)
break;
- ecore_list_node_remove(aclass_list, ActionclassFind(s2));
+ ecore_list_node_remove(aclass_list, ActionclassFind(ac->name));
ecore_list_prepend(aclass_list_global, ac);
global = 1;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev