Module: wine Branch: master Commit: 0ac31924a12891b8095e8fd0e7a51bd00b4b058a URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ac31924a12891b8095e8fd0e7...
Author: Rob Shearman robertshearman@gmail.com Date: Wed Sep 17 11:00:42 2008 +0100
oleaut32: Fix a typo in VarTokenizeFormatString.
The second 'q' should be upper case.
---
dlls/oleaut32/varformat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/varformat.c b/dlls/oleaut32/varformat.c index 27735fc..217fb10 100644 --- a/dlls/oleaut32/varformat.c +++ b/dlls/oleaut32/varformat.c @@ -966,7 +966,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok, } fmt_state &= ~FMT_STATE_OPEN_COPY; } - else if ((*pFormat == 'q' || *pFormat == 'q') && COULD_BE(FMT_TYPE_DATE)) + else if ((*pFormat == 'q' || *pFormat == 'Q') && COULD_BE(FMT_TYPE_DATE)) { /* Date formats: Quarter specifier * Other formats: Literal