From b9f11f246dba4677ac753f63f5147639f2ae71d4 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Wed, 5 Oct 2016 21:35:40 +0200 Subject: [PATCH] Bump simplecpp (fixes #7742) --- externals/simplecpp/simplecpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/simplecpp/simplecpp.cpp b/externals/simplecpp/simplecpp.cpp index aeaf0a0f3..9068de106 100644 --- a/externals/simplecpp/simplecpp.cpp +++ b/externals/simplecpp/simplecpp.cpp @@ -296,7 +296,7 @@ static unsigned char peekChar(std::istream &istr, unsigned int bom) { static void ungetChar(std::istream &istr, unsigned int bom) { istr.unget(); - if (bom != 0) + if (bom == 0xfeff || bom == 0xfffe) istr.unget(); }