[tracker/sam/ontology-docs: 20/22] docs: Use basename for type
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/ontology-docs: 20/22] docs: Use basename for type
- Date: Mon, 13 Apr 2020 00:05:19 +0000 (UTC)
commit 6c0b374587b3b2fa916c2110f0d215c25b3d14f4
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Apr 12 22:12:45 2020 +0200
docs: Use basename for type
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 186a48b83..b48b8b0a5 100644
--- a/docs/tools/ttlresource2xml.c
+++ b/docs/tools/ttlresource2xml.c
@@ -584,7 +584,7 @@ print_property_table (FILE *f,
prop_id = ttl_model_name_to_shortname (ontology, prop->propertyname, "-");
shortname = ttl_model_name_to_shortname (ontology, prop->propertyname, NULL);
basename = ttl_model_name_to_basename (ontology, prop->propertyname);
- type_name = ttl_model_name_to_shortname (ontology, prop->range->data, NULL);
+ type_name = ttl_model_name_to_basename (ontology, prop->range->data);
type_class_id = ttl_model_name_to_shortname (ontology, prop->range->data, "-");
g_fprintf (f, "<tr>");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]