From 5909c8a9b87db57285122c87368457558bebf3b6 Mon Sep 17 00:00:00 2001 From: Bartosz Brachaczek Date: Sun, 9 Jul 2017 22:25:54 +0200 Subject: [PATCH] slightly simplify a condition in vfwscanf the OR is not needed since commit de80ea9f1c2821cbb4205533b86d5d17f9e8d376. --- src/stdio/vfwscanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdio/vfwscanf.c b/src/stdio/vfwscanf.c index 1ebc5cef..ad8e2b9a 100644 --- a/src/stdio/vfwscanf.c +++ b/src/stdio/vfwscanf.c @@ -184,21 +184,21 @@ int vfwscanf(FILE *restrict f, const wchar_t *restrict fmt, va_list ap) t = *p; /* Transform S,C -> ls,lc */ if ((t&0x2f)==3) { size = SIZE_l; t |= 32; } if (t != 'n') { - if (t != '[' && (t|32) != 'c') + if (t != '[' && t != 'c') while (iswspace((c=getwc(f)))) pos++; else c=getwc(f); if (c < 0) goto input_fail; ungetwc(c, f); } switch (t) { case 'n': store_int(dest, size, pos); -- 2.14.1