From 2b2a3338eea8fc9356fe48938eed2aca358b6fc5 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Fri, 12 Sep 2014 11:28:39 +0200 Subject: [PATCH] msvcp90: Fix FMTFLAG_showpoint handling in num_put_char__Ffmt. --- dlls/msvcp60/locale.c | 2 +- dlls/msvcp90/locale.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcp60/locale.c b/dlls/msvcp60/locale.c index 2320886bd5f..326a51a3954 100644 --- a/dlls/msvcp60/locale.c +++ b/dlls/msvcp60/locale.c @@ -5843,7 +5843,7 @@ static char* num_put_char__Ffmt(const num_put *this, char *fmt, char spec, int f *p++ = '%'; if(fmtfl & FMTFLAG_showpos) *p++ = '+'; - if(fmtfl & FMTFLAG_showbase) + if(fmtfl & FMTFLAG_showpoint) *p++ = '#'; *p++ = '.'; *p++ = '*'; diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c index b15f1b88cad..587aca65d6e 100644 --- a/dlls/msvcp90/locale.c +++ b/dlls/msvcp90/locale.c @@ -7088,7 +7088,7 @@ char* __cdecl num_put_char__Ffmt(const num_put *this, char *fmt, char spec, int *p++ = '%'; if(fmtfl & FMTFLAG_showpos) *p++ = '+'; - if(fmtfl & FMTFLAG_showbase) + if(fmtfl & FMTFLAG_showpoint) *p++ = '#'; *p++ = '.'; *p++ = '*'; -- 2.11.4.GIT