src/plugins.c

changeset 2372
c24942700dfd
parent 2360
ddca90bfbd7b
child 2393
cfef0212506b
--- a/src/plugins.c	Thu Sep 27 17:44:23 2001 +0000
+++ b/src/plugins.c	Thu Sep 27 19:17:11 2001 +0000
@@ -227,10 +227,11 @@
 
 	plugins = g_list_append(plugins, plug);
 
-	if (g_module_symbol(plug->handle, "name", (gpointer *)&cfunc))
+	if (g_module_symbol(plug->handle, "name", (gpointer *)&cfunc)) {
 		plug->name = (*cfunc)();
-	else
+	} else {
 		plug->name = NULL;
+	}
 
 	if (g_module_symbol(plug->handle, "description", (gpointer *)&cfunc))
 		plug->description = (*cfunc)();

mercurial