From b5415c42ea75f28298f1b507af147546fd772e77 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 26 Jul 2018 14:40:21 +0200 Subject: [PATCH] msvcp90: Fix EOF delimiter handling in basic_istream::ignore. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45495 Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcp60/ios.c | 2 +- dlls/msvcp90/ios.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcp60/ios.c b/dlls/msvcp60/ios.c index 8a5813e0464..518c8dab350 100644 --- a/dlls/msvcp60/ios.c +++ b/dlls/msvcp60/ios.c @@ -8101,7 +8101,7 @@ basic_istream_char* __thiscall basic_istream_char_ignore(basic_istream_char *thi break; } - if(ch==(unsigned char)delim) + if(ch==delim) break; this->count++; diff --git a/dlls/msvcp90/ios.c b/dlls/msvcp90/ios.c index 6a82db6114a..e71d30f0325 100644 --- a/dlls/msvcp90/ios.c +++ b/dlls/msvcp90/ios.c @@ -8583,7 +8583,7 @@ basic_istream_char* __thiscall basic_istream_char_ignore(basic_istream_char *thi break; } - if(ch==(unsigned char)delim) + if(ch==delim) break; this->count++;