[tracker] docs/tools: Fix thinko in ontology doc generator
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] docs/tools: Fix thinko in ontology doc generator
- Date: Wed, 22 Apr 2020 10:24:08 +0000 (UTC)
commit 056b93a5a431f8a0d3fe8dd95c7074d927f1c7e8
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Apr 22 12:21:28 2020 +0200
docs/tools: Fix thinko in ontology doc generator
Coverity CID 1492697
docs/tools/ttlresource2xml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/tools/ttlresource2xml.c b/docs/tools/ttlresource2xml.c
index 9fffcc1f2..d90e8e65a 100644
--- a/docs/tools/ttlresource2xml.c
+++ b/docs/tools/ttlresource2xml.c
@@ -614,7 +614,7 @@ print_ontology_class (Ontology *ontology,
g_fprintf (f, "<refsect2 role='rdf-class' id='%s'>\n", id);
g_fprintf (f, "<title>%s</title>\n", name);
- if (klass->description || klass->description || klass->notify) {
+ if (klass->description || klass->deprecated || klass->notify) {
g_fprintf (f, "<refsect3 id='%s.description'>\n", id);
g_fprintf (f, " <title>Description</title>\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]