Based on patch by Daniel Lehman.
Signed-off-by: Piotr Caban piotr@codeweavers.com --- dlls/msvcr110/tests/msvcr110.c | 8 +- dlls/msvcrt/locale.c | 197 ++++++++++++++++++++++++++++++----------- dlls/msvcrt/mbcs.c | 2 +- dlls/msvcrt/msvcrt.h | 5 +- 4 files changed, 154 insertions(+), 58 deletions(-)