diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/serdi.c | 2 | ||||
-rw-r--r-- | src/writer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/serdi.c b/src/serdi.c index ce76b88d..a9e25c14 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -210,7 +210,7 @@ main(int argc, char** argv) SerdWorld* world = serd_world_new(); SerdEnv* env = serd_env_new(base); - const SerdWriterFlags writer_flags = (ascii ? SERD_STYLE_ASCII : 0U); + const SerdWriterFlags writer_flags = (ascii ? SERD_WRITE_ASCII : 0U); const SerdSerialisationFlags serialisation_flags = no_inline ? SERD_NO_INLINE_OBJECTS : 0U; diff --git a/src/writer.c b/src/writer.c index 08e9ae17..62dcc3b3 100644 --- a/src/writer.c +++ b/src/writer.c @@ -195,7 +195,7 @@ write_character(SerdWriter* writer, const uint8_t* utf8, size_t* size) break; } - if (!(writer->flags & SERD_STYLE_ASCII)) { + if (!(writer->flags & SERD_WRITE_ASCII)) { // Write UTF-8 character directly to UTF-8 output return sink(utf8, *size, writer); } |