Module: wine Branch: master Commit: 2b2a3338eea8fc9356fe48938eed2aca358b6fc5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b2a3338eea8fc9356fe48938e...
Author: Piotr Caban piotr@codeweavers.com Date: Fri Sep 12 11:28:39 2014 +0200
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 2320886..326a51a 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 b15f1b8..587aca6 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++ = '*';