about summary refs log tree commit diff
path: root/src/stdio/open_wmemstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/open_wmemstream.c')
-rw-r--r--src/stdio/open_wmemstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/open_wmemstream.c b/src/stdio/open_wmemstream.c
index cb693ea7..a7c3a645 100644
--- a/src/stdio/open_wmemstream.c
+++ b/src/stdio/open_wmemstream.c
@@ -94,5 +94,7 @@ FILE *open_wmemstream(wchar_t **bufp, size_t *sizep)
 
 	if (!libc.threaded) f->f.lock = -1;
 
+	fwide(&f->f, 1);
+
 	return __ofl_add(&f->f);
 }