summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/query.c')
-rw-r--r--src/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.c b/src/query.c
index 2f5875e..0f6aaad 100644
--- a/src/query.c
+++ b/src/query.c
@@ -77,7 +77,7 @@ slv2_values_from_stream_objects_i18n(SLV2Plugin p,
FOREACH_MATCH(stream) {
SLV2Node value = slv2_match_object(stream);
if (sord_node_get_type(value) == SORD_LITERAL) {
- const char* lang = sord_literal_get_lang(value);
+ const char* lang = sord_node_get_language(value);
SLV2LangMatch lm = SLV2_LANG_MATCH_NONE;
if (lang) {
lm = (syslang)