[Bug 8095] PQ Teaching toy crashes

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 15 07:39:07 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=8095


Rotem Zach <rotemz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rotemz at gmail.com




--- Comment #13 from Rotem Zach <rotemz at gmail.com>  2008-09-15 07:39:06 ---
---
Fixing the "general date format"/"else if (*pFormat == 'c' || *pFormat == 'C')"
part isnt enough.
The VarTokenizeFormatString() tokenizer has a general problem: the actual
variant type isnt taken into account (which could serve as hint).
---

Why not just fix this part?

As said by Damjan above, we can't alter VarTokenizeFormatString(). Why not fix 
"if (*pFormat == 'c' || *pFormat == 'C')" to be "if ((*pFormat == 'c' ||
*pFormat == 'C') && COULD_BE(FMT_TYPE_DATE))".

This doesn't break anything, is used by several other cases, fixes the bug
(which affects atleast two apps) and only uses the format string.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list