From 9703e6b72b5de5436402bd972cebfcbc6f63bf5a Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Thu, 19 Mar 2015 13:26:08 +0300 Subject: [PATCH] Unicode names set for ANSI --- lib/tokenize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 5d181388e..8208136ce 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -9754,10 +9754,10 @@ void Tokenizer::simplifyMicrosoftStringFunctions() tok->str("fopen_s"); tok->originalName("_tfopen_s"); } else if (Token::simpleMatch(tok, "_tfreopen (")) { - tok->str("_wfreopen"); + tok->str("freopen"); tok->originalName("_tfreopen"); } else if (Token::simpleMatch(tok, "_tfreopen_s (")) { - tok->str("_wfreopen_s"); + tok->str("freopen_s"); tok->originalName("_tfreopen_s"); } else if (Token::simpleMatch(tok, "_tcscat (")) { tok->str("strcat");