aboutsummaryrefslogtreecommitdiff
path: root/core/strings
diff options
context:
space:
mode:
Diffstat (limited to 'core/strings')
-rw-r--r--core/strings/builder.odin2
-rw-r--r--core/strings/reader.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/strings/builder.odin b/core/strings/builder.odin
index 285ced9ce..a6d0b24b3 100644
--- a/core/strings/builder.odin
+++ b/core/strings/builder.odin
@@ -182,7 +182,7 @@ _builder_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byt
case .Query:
return io.query_utility({.Write, .Size, .Destroy, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}
/*
diff --git a/core/strings/reader.odin b/core/strings/reader.odin
index bb49bf917..0d467f285 100644
--- a/core/strings/reader.odin
+++ b/core/strings/reader.odin
@@ -310,5 +310,5 @@ _reader_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, offse
case .Query:
return io.query_utility({.Size, .Read, .Read_At, .Seek, .Query})
}
- return 0, .Empty
+ return 0, .Unsupported
}