Revision: 1321 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1321&view=re... Author: colombanw Date: 2010-05-01 17:45:45 +0000 (Sat, 01 May 2010)
Log Message: ----------- GeanyGenDoc: Fix crash when documenting symbol with no rules set
Don't try to access the GgdDocSetting.autodoc_children field if the setting is NULL (oops).
Modified Paths: -------------- trunk/geanygendoc/src/ggd.c
Modified: trunk/geanygendoc/src/ggd.c =================================================================== --- trunk/geanygendoc/src/ggd.c 2010-05-01 17:45:11 UTC (rev 1320) +++ trunk/geanygendoc/src/ggd.c 2010-05-01 17:45:45 UTC (rev 1321) @@ -511,7 +511,7 @@ GList *tag_list = NULL;
setting = get_setting_from_tag (doctype, tag_array, tag, &tag); - if (setting->autodoc_children) { + if (setting && setting->autodoc_children) { tag_list = ggd_tag_find_children_filtered (tag_array, tag, 0, setting->matches); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org