X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstdio%2Fvfwscanf.c;h=223aad4f351c96bb2a2ca9f9e3e75b798546ac75;hb=536c6d5a4205e2a3f161f2983ce1e0ac3082187d;hp=ac5c2c24f7018175c4aed172a1bf43108532eacb;hpb=984c25b74da085c6ae6b44a87bbd5f8afc9be331;p=musl diff --git a/src/stdio/vfwscanf.c b/src/stdio/vfwscanf.c index ac5c2c24..223aad4f 100644 --- a/src/stdio/vfwscanf.c +++ b/src/stdio/vfwscanf.c @@ -104,7 +104,7 @@ int vfwscanf(FILE *restrict f, const wchar_t *restrict fmt, va_list ap) FLOCK(f); - f->mode |= f->mode+1; + fwide(f, 1); for (p=fmt; *p; p++) {