aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 290ee1d9..e1de6e32 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -195,9 +195,9 @@ main(int argc, char** argv)
}
}
- if (input_syntax != SERD_NTRIPLES // Base URI may change (@base)
- || (output_syntax == SERD_TURTLE)) {
- output_style |= SERD_STYLE_RESOLVED;
+ if (input_syntax != SERD_NTRIPLES || (output_style & SERD_STYLE_CURIED)) {
+ // Base URI may change and/or we're abbreviating URIs, so must resolve
+ output_style |= SERD_STYLE_RESOLVED; // Base may chan
}
if (bulk_write) {