From 86e73802a690fcfd694b581020d0932bda380e70 Mon Sep 17 00:00:00 2001 From: yangxx Date: Fri, 17 Oct 2003 14:56:27 +0000 Subject: [PATCH] bug fixed: module dependence is wrong git-svn-id: http://ltt.polymtl.ca/svn@313 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/module.c b/ltt/branches/poly/lttv/module.c index 7640f865..e225992a 100644 --- a/ltt/branches/poly/lttv/module.c +++ b/ltt/branches/poly/lttv/module.c @@ -169,7 +169,7 @@ lttv_module_require(LttvModule *m, const char *name, int argc, char **argv) g_info("Load module %s, as %s is a dependent requiring it", name, g_module_name(m->module)); module = module_load(name, argc, argv); - if(module != NULL) g_ptr_array_add(m->dependents, module); + if(module != NULL) g_ptr_array_add(module->dependents, m); return module; } -- 2.34.1