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 2d46e300..c7250958 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -211,7 +211,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 38dcc240..849e623a 100644 --- a/src/writer.c +++ b/src/writer.c @@ -192,7 +192,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); } |